SELECT * FROM `voice_compaign_summary` WHERE status='IP' AND compaign_id='24834' LIMIT 1
Array
(
    [0] => 24834
    [compaign_id] => 24834
    [1] => u94
    [user_id] => u94
    [2] => 24293,
    [group_ids] => 24293,
    [3] => 
    [sender_id] => 
    [4] => welcome-1_xR1MU0Q32.wav
    [filename] => welcome-1_xR1MU0Q32.wav
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1721454722
    [start_date] => 1721454722
    [9] => 0
    [end_date] => 0
    [10] => 8
    [total_sms] => 8
    [11] => 0
    [sent_sms] => 0
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 0
    [failed_sms] => 0
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 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] => IP
    [status] => IP
    [37] => u94
    [created_by] => u94
    [38] => 0
    [isScheduled] => 0
    [39] => 1721454722
    [create_date] => 1721454722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 0
    [cutting_per] => 0
    [43] => 0
    [answer_per] => 0
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 500
    [api_channels] => 500
    [49] => {"api_allot_time":1721454729,"compaign_read_start_time":1721454731,"compaign_read_complete_time":1721454731}
    [action_time] => {"api_allot_time":1721454729,"compaign_read_start_time":1721454731,"compaign_read_complete_time":1721454731}
    [50] => 0
    [compaign_file] => 0
    [51] => u94_24834_20072024_112208AM_131
    [common_name] => u94_24834_20072024_112208AM_131
    [52] => 1703066598_u94_voice.wav
    [voice_file] => 1703066598_u94_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_24293
    [temp_group_table] => contacts_temp_group_24293
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 1
    [immediate_send] => 1
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 2
    [extension_key] => 2
    [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] => 0
    [last_credit_update_time] => 0
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 761
    [user_voice_plan_id] => 761
    [85] => 8
    [voice_plan_id] => 8
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.34
    [pulse_rate] => 0.34
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => dedicated
    [delivery_cli] => dedicated
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => ["7313658803"]
    [clis] => ["7313658803"]
    [106] => [{"cli":7313658803,"g_id":128}]
    [alloted_apis] => [{"cli":7313658803,"g_id":128}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr10,r15,u94
    [uphierarchy] => admin,sr10,r15,u94
    [113] => 
    [extra_params_json] => 
)


 user discard hour :  

 user discard_time_text:  

 arr gateway ids 128

 

 -------------------- 
Array
(
    [128] => Array
        (
            [0] => 7313658803
        )

)


 -------------------- array(1) {
  [128]=>
  array(1) {
    [0]=>
    int(7313658803)
  }
}


 CLI SET IN GATEWAY :  128

 here for cli 

Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 here for gateway 

Array
(
    [128] => Array
        (
            [id] => 128
            [name] => V115 - Trans dedicated -02
            [voice_plan_id] => 5,8,12,15,37,45
            [gateway_cli] => +917313658795
            [cli_prefix] => +91
            [channels] => 500
            [gateway_pulse] => 30
            [gateway_ring_time] => 30
            [max_cron] => 10
            [gateway_type] => si
            [isReserve] => 1
            [isDedicated] => 0
            [create_date] => 1717737783
            [create_by] => admin
            [status] => 1
            [isDeleted] => 0
            [update_date] => 1718281382
            [update_by] => admin
            [api_owner_id] => admin
            [total_credits] => 3078
            [total_contacts] => 1826
            [total_compaigns] => 123
            [active_credits] => 1826
            [todays_credits] => 20
            [todays_time] => 1721413800
        )

)

sender id is check max speen : 10000
Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 0
)
 

 Process is trueprocessing 

Array
(
    [128] => Array
        (
            [id] => 128
            [gateway_id] => 128
            [owner_id] => 100001
            [token] => luroekngnkvsaguut7t09439
            [post_url] => http://103.179.224.115/sarvApi/
            [speed_per_minute] => 10000
            [rabitmq_host] => 103.179.224.115
            [rabitmq_port] => 5672
            [rabitmq_user] => noderabbit
            [rabitmq_pass] => saf8777JJKk76KK
            [rabitmq_sending_queue] => QCall_vOBD40_128
            [rabitmq_reporting_queue] => QReport_vOBD40_128
            [rabitmq_queue_status] => 1
            [create_date] => 1717737783
            [create_by] => admin
            [update_date] => 1717737852
            [update_by] => admin
        )

)


  before rabbitMq Connection 
103.179.224.115
5672
noderabbit
saf8777JJKk76KK

 rabbitMq Connection 

SELECT * FROM `voice_compaign_detail_24834` where status='p' AND report='' AND user_report='' AND compaign_id='24834' AND api_id>0 and api_id=128 ORDER BY id LIMIT 5000 

8 total record 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_1_128-u94
    [ivr_id] => 100
    [receiver] => 09527403115
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_1
    [contact_id] => 1
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784019
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 1 before publish time 20-Jul-2024 11:23:04 am 

 1 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 1
)
10000 :m--------u : 1

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='1' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_2_128-u94
    [ivr_id] => 100
    [receiver] => 09359711178
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_2
    [contact_id] => 2
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784022
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 2 before publish time 20-Jul-2024 11:23:04 am 

 2 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 2
)
10000 :m--------u : 2

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='2' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_3_128-u94
    [ivr_id] => 100
    [receiver] => 09123456789
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_3
    [contact_id] => 3
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784030
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 3 before publish time 20-Jul-2024 11:23:04 am 

 3 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 3
)
10000 :m--------u : 3

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='3' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_4_128-u94
    [ivr_id] => 100
    [receiver] => 09112669079
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_4
    [contact_id] => 4
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784034
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 4 before publish time 20-Jul-2024 11:23:04 am 

 4 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 4
)
10000 :m--------u : 4

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='4' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_5_128-u94
    [ivr_id] => 100
    [receiver] => 08668831909
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_5
    [contact_id] => 5
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784038
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 5 before publish time 20-Jul-2024 11:23:04 am 

 5 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 5
)
10000 :m--------u : 5

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='5' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_6_128-u94
    [ivr_id] => 100
    [receiver] => 07517689201
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_6
    [contact_id] => 6
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784040
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 6 before publish time 20-Jul-2024 11:23:04 am 

 6 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 6
)
10000 :m--------u : 6

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='6' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_7_128-u94
    [ivr_id] => 100
    [receiver] => 07447820982
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_7
    [contact_id] => 7
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784044
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 7 before publish time 20-Jul-2024 11:23:04 am 

 7 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 7
)
10000 :m--------u : 7

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='7' LIMIT 1 


 below is cli_id_arrs
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


 publish data 

Array
(
    [unique_id] => 24834_8_128-u94
    [ivr_id] => 100
    [receiver] => 08080730646
    [announcement_path] => 1703066598_u94_voice
    [sarv_api_uniqueid] => 24834_8
    [contact_id] => 8
    [uid] => u94
    [callerId] => +917313658803
    [voice_duration] => 31
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1721454784049
)
Array
(
    [128] => Array
        (
            [0] => +917313658803
        )

)


rabbitmq name 

 QCall_vOBD40_128

  

 

 8 before publish time 20-Jul-2024 11:23:04 am 

 8 after publish time 20-Jul-2024 11:23:04 am 

Array
(
    [last_reset_time] => 1721454783
    [max_limit] => 10000
    [used_limit] => 8
)
10000 :m--------u : 8

 
UPDATE `voice_compaign_detail_24834` SET `status`='S',`sent_date`='1721454784' WHERE `id`='8' LIMIT 1 
 

 end loog loop record 1  128