SELECT * FROM `voice_compaign_summary` WHERE status='IP' AND compaign_id='79396' LIMIT 1 user discard hour : user discard_time_text: arr gateway ids 31
sender id is current time 1764583741 in if 1764583681 < 1764583692 03:38:01 pm < 03:38:12 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_79396` where status='p' AND report='' AND user_report='' AND compaign_id='79396' AND api_id>0 and api_id=31 ORDER BY id LIMIT 5000 

9 total record 


 publish data 

Array
(
    [unique_id] => 79396_3_31-u122
    [ivr_id] => 100
    [receiver] => 09985559259
    [sarv_api_uniqueid] => 79396_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] => 1764583741994
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 01-Dec-2025 03:39:01 pm 

 3 after publish time 01-Dec-2025 03:39:01 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583741' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_7_31-u122
    [ivr_id] => 100
    [receiver] => 08746097162
    [sarv_api_uniqueid] => 79396_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] => 1764583742000
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 01-Dec-2025 03:39:01 pm 

 7 after publish time 01-Dec-2025 03:39:01 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583741' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_8_31-u122
    [ivr_id] => 100
    [receiver] => 09412012693
    [sarv_api_uniqueid] => 79396_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] => 1764583742003
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 01-Dec-2025 03:39:01 pm 

 8 after publish time 01-Dec-2025 03:39:01 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583741' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_9_31-u122
    [ivr_id] => 100
    [receiver] => 08686881551
    [sarv_api_uniqueid] => 79396_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] => 1764583742007
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 01-Dec-2025 03:39:02 pm 

 9 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='9' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_10_31-u122
    [ivr_id] => 100
    [receiver] => 07006182048
    [sarv_api_uniqueid] => 79396_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] => 1764583742011
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 01-Dec-2025 03:39:02 pm 

 10 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_11_31-u122
    [ivr_id] => 100
    [receiver] => 09969657700
    [sarv_api_uniqueid] => 79396_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] => 1764583742015
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 01-Dec-2025 03:39:02 pm 

 11 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_13_31-u122
    [ivr_id] => 100
    [receiver] => 08807863442
    [sarv_api_uniqueid] => 79396_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] => 1764583742020
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 01-Dec-2025 03:39:02 pm 

 13 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_17_31-u122
    [ivr_id] => 100
    [receiver] => 07004494119
    [sarv_api_uniqueid] => 79396_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] => 1764583742026
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 01-Dec-2025 03:39:02 pm 

 17 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='17' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 79396_18_31-u122
    [ivr_id] => 100
    [receiver] => 07722082620
    [sarv_api_uniqueid] => 79396_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] => 1764583742030
    [announcement_path] => api_1764048437_u122_voice_114
    [voice_duration] => 31
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 01-Dec-2025 03:39:02 pm 

 18 after publish time 01-Dec-2025 03:39:02 pm 

UPDATE `voice_compaign_detail_79396` SET `status`='S',`sent_date`='1764583742' WHERE `id`='18' LIMIT 1 
 

 end loog loop record 1  31