SELECT * FROM `voice_compaign_summary` WHERE status='IP' AND compaign_id='81384' LIMIT 1 user discard hour : user discard_time_text: arr gateway ids 31
sender id is Process is trueprocessing
Array
(
    [31] => Array
        (
            [id] => 31
            [gateway_id] => 31
            [owner_id] => 100001
            [token] => luroekngnkvsaguut7t09439
            [post_url] => http://36.255.253.142/sarvApi/
            [speed_per_minute] => 70000
            [rabitmq_host] => 36.255.253.142
            [rabitmq_port] => 5672
            [rabitmq_user] => noderabbit
            [rabitmq_pass] => saf8777JJKk76KK
            [rabitmq_sending_queue] => QCall_v60_31
            [rabitmq_reporting_queue] => QReport_v60_31
            [rabitmq_queue_status] => 1
            [create_date] => 1727696243
            [create_by] => admin
            [update_date] => 1727696319
            [update_by] => admin
        )

)


SELECT * FROM `voice_compaign_detail_81384` where status='p' AND report='' AND user_report='' AND compaign_id='81384' AND api_id>0 and api_id=31 ORDER BY id LIMIT 5000 

21 total record 


 publish data 

Array
(
    [unique_id] => 81384_1_31-u122
    [ivr_id] => 100
    [receiver] => 09849887314
    [sarv_api_uniqueid] => 81384_1
    [contact_id] => 1
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007162656
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 06-Dec-2025 01:16:02 pm 

 1 after publish time 06-Dec-2025 01:16:02 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007162' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_2_31-u122
    [ivr_id] => 100
    [receiver] => 08185895534
    [sarv_api_uniqueid] => 81384_2
    [contact_id] => 2
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007162881
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 06-Dec-2025 01:16:02 pm 

 2 after publish time 06-Dec-2025 01:16:02 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007162' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_3_31-u122
    [ivr_id] => 100
    [receiver] => 09666353827
    [sarv_api_uniqueid] => 81384_3
    [contact_id] => 3
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007162884
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 06-Dec-2025 01:16:02 pm 

 3 after publish time 06-Dec-2025 01:16:02 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007162' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_4_31-u122
    [ivr_id] => 100
    [receiver] => 08897988973
    [sarv_api_uniqueid] => 81384_4
    [contact_id] => 4
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007163391
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 06-Dec-2025 01:16:03 pm 

 4 after publish time 06-Dec-2025 01:16:03 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007163' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_5_31-u122
    [ivr_id] => 100
    [receiver] => 09948411523
    [sarv_api_uniqueid] => 81384_5
    [contact_id] => 5
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007163639
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 06-Dec-2025 01:16:03 pm 

 5 after publish time 06-Dec-2025 01:16:03 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007163' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_6_31-u122
    [ivr_id] => 100
    [receiver] => 08143889871
    [sarv_api_uniqueid] => 81384_6
    [contact_id] => 6
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007164099
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 06-Dec-2025 01:16:04 pm 

 6 after publish time 06-Dec-2025 01:16:04 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007164' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_7_31-u122
    [ivr_id] => 100
    [receiver] => 09848659808
    [sarv_api_uniqueid] => 81384_7
    [contact_id] => 7
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007164103
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 06-Dec-2025 01:16:04 pm 

 7 after publish time 06-Dec-2025 01:16:04 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007164' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_8_31-u122
    [ivr_id] => 100
    [receiver] => 09866355057
    [sarv_api_uniqueid] => 81384_8
    [contact_id] => 8
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007164377
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 06-Dec-2025 01:16:04 pm 

 8 after publish time 06-Dec-2025 01:16:04 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007164' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_10_31-u122
    [ivr_id] => 100
    [receiver] => 08897473599
    [sarv_api_uniqueid] => 81384_10
    [contact_id] => 10
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007164838
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 06-Dec-2025 01:16:04 pm 

 10 after publish time 06-Dec-2025 01:16:04 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007164' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_13_31-u122
    [ivr_id] => 100
    [receiver] => 09704716225
    [sarv_api_uniqueid] => 81384_13
    [contact_id] => 13
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007164844
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 06-Dec-2025 01:16:04 pm 

 13 after publish time 06-Dec-2025 01:16:04 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007164' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_14_31-u122
    [ivr_id] => 100
    [receiver] => 08187807304
    [sarv_api_uniqueid] => 81384_14
    [contact_id] => 14
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007165324
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 06-Dec-2025 01:16:05 pm 

 14 after publish time 06-Dec-2025 01:16:05 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007165' WHERE `id`='14' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_15_31-u122
    [ivr_id] => 100
    [receiver] => 09951103802
    [sarv_api_uniqueid] => 81384_15
    [contact_id] => 15
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007165563
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 06-Dec-2025 01:16:05 pm 

 15 after publish time 06-Dec-2025 01:16:05 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007165' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_16_31-u122
    [ivr_id] => 100
    [receiver] => 09542772135
    [sarv_api_uniqueid] => 81384_16
    [contact_id] => 16
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007166391
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 16 before publish time 06-Dec-2025 01:16:06 pm 

 16 after publish time 06-Dec-2025 01:16:06 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007166' WHERE `id`='16' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_17_31-u122
    [ivr_id] => 100
    [receiver] => 08367355603
    [sarv_api_uniqueid] => 81384_17
    [contact_id] => 17
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007166763
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 06-Dec-2025 01:16:07 pm 

 17 after publish time 06-Dec-2025 01:16:07 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007167' WHERE `id`='17' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_18_31-u122
    [ivr_id] => 100
    [receiver] => 08187864844
    [sarv_api_uniqueid] => 81384_18
    [contact_id] => 18
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168124
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 06-Dec-2025 01:16:08 pm 

 18 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='18' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_20_31-u122
    [ivr_id] => 100
    [receiver] => 08096229522
    [sarv_api_uniqueid] => 81384_20
    [contact_id] => 20
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168142
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 20 before publish time 06-Dec-2025 01:16:08 pm 

 20 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='20' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_21_31-u122
    [ivr_id] => 100
    [receiver] => 09542376571
    [sarv_api_uniqueid] => 81384_21
    [contact_id] => 21
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168175
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 21 before publish time 06-Dec-2025 01:16:08 pm 

 21 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='21' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_22_31-u122
    [ivr_id] => 100
    [receiver] => 09542737284
    [sarv_api_uniqueid] => 81384_22
    [contact_id] => 22
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168183
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 22 before publish time 06-Dec-2025 01:16:08 pm 

 22 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='22' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_23_31-u122
    [ivr_id] => 100
    [receiver] => 09848653900
    [sarv_api_uniqueid] => 81384_23
    [contact_id] => 23
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168198
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 23 before publish time 06-Dec-2025 01:16:08 pm 

 23 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='23' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_24_31-u122
    [ivr_id] => 100
    [receiver] => 09912426524
    [sarv_api_uniqueid] => 81384_24
    [contact_id] => 24
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168202
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 24 before publish time 06-Dec-2025 01:16:08 pm 

 24 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='24' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 81384_25_31-u122
    [ivr_id] => 100
    [receiver] => 09908234286
    [sarv_api_uniqueid] => 81384_25
    [contact_id] => 25
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765007168218
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 25 before publish time 06-Dec-2025 01:16:08 pm 

 25 after publish time 06-Dec-2025 01:16:08 pm 

UPDATE `voice_compaign_detail_81384` SET `status`='S',`sent_date`='1765007168' WHERE `id`='25' LIMIT 1 
 

 end loog loop record 1  31