SELECT * FROM `voice_compaign_summary` WHERE status='IP' AND compaign_id='83435' LIMIT 1 user discard hour : user discard_time_text: arr gateway ids 31
sender id is current time 1765262042 in if 1765261981 < 1765261993 12:03:01 pm < 12:03:13 pm kill here previous process 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_83435` where status='p' AND report='' AND user_report='' AND compaign_id='83435' AND api_id>0 and api_id=31 ORDER BY id LIMIT 5000 

12 total record 


 publish data 

Array
(
    [unique_id] => 83435_1_31-u122
    [ivr_id] => 100
    [receiver] => 09948330997
    [sarv_api_uniqueid] => 83435_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] => 1765262042854
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 09-Dec-2025 12:04:02 pm 

 1 after publish time 09-Dec-2025 12:04:02 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262042' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_2_31-u122
    [ivr_id] => 100
    [receiver] => 07032954603
    [sarv_api_uniqueid] => 83435_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] => 1765262042858
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 09-Dec-2025 12:04:02 pm 

 2 after publish time 09-Dec-2025 12:04:02 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262042' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_3_31-u122
    [ivr_id] => 100
    [receiver] => 09661900502
    [sarv_api_uniqueid] => 83435_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] => 1765262043100
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 09-Dec-2025 12:04:03 pm 

 3 after publish time 09-Dec-2025 12:04:03 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262043' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_5_31-u122
    [ivr_id] => 100
    [receiver] => 09912354409
    [sarv_api_uniqueid] => 83435_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] => 1765262043105
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 09-Dec-2025 12:04:03 pm 

 5 after publish time 09-Dec-2025 12:04:03 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262043' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_6_31-u122
    [ivr_id] => 100
    [receiver] => 09701432229
    [sarv_api_uniqueid] => 83435_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] => 1765262043350
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 09-Dec-2025 12:04:03 pm 

 6 after publish time 09-Dec-2025 12:04:03 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262043' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_7_31-u122
    [ivr_id] => 100
    [receiver] => 09848227982
    [sarv_api_uniqueid] => 83435_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] => 1765262043787
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 09-Dec-2025 12:04:03 pm 

 7 after publish time 09-Dec-2025 12:04:03 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262043' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_8_31-u122
    [ivr_id] => 100
    [receiver] => 06305672320
    [sarv_api_uniqueid] => 83435_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] => 1765262043791
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 09-Dec-2025 12:04:03 pm 

 8 after publish time 09-Dec-2025 12:04:03 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262043' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_9_31-u122
    [ivr_id] => 100
    [receiver] => 08978936879
    [sarv_api_uniqueid] => 83435_9
    [contact_id] => 9
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765262043976
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 09-Dec-2025 12:04:04 pm 

 9 after publish time 09-Dec-2025 12:04:04 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262044' WHERE `id`='9' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_10_31-u122
    [ivr_id] => 100
    [receiver] => 07670807576
    [sarv_api_uniqueid] => 83435_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] => 1765262044164
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 09-Dec-2025 12:04:04 pm 

 10 after publish time 09-Dec-2025 12:04:04 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262044' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_11_31-u122
    [ivr_id] => 100
    [receiver] => 09666999522
    [sarv_api_uniqueid] => 83435_11
    [contact_id] => 11
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765262044325
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 09-Dec-2025 12:04:04 pm 

 11 after publish time 09-Dec-2025 12:04:04 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262044' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_12_31-u122
    [ivr_id] => 100
    [receiver] => 09848665459
    [sarv_api_uniqueid] => 83435_12
    [contact_id] => 12
    [uid] => u122
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765262044496
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 09-Dec-2025 12:04:04 pm 

 12 after publish time 09-Dec-2025 12:04:04 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262044' WHERE `id`='12' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 83435_13_31-u122
    [ivr_id] => 100
    [receiver] => 09885808901
    [sarv_api_uniqueid] => 83435_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] => 1765262044691
    [announcement_path] => api_1765187907_u122_voice_724
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 09-Dec-2025 12:04:04 pm 

 13 after publish time 09-Dec-2025 12:04:04 pm 

UPDATE `voice_compaign_detail_83435` SET `status`='S',`sent_date`='1765262044' WHERE `id`='13' LIMIT 1 
 

 end loog loop record 1  31