SELECT * FROM `voice_compaign_summary` WHERE status='IP' AND compaign_id='82517' 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_82517` where status='p' AND report='' AND user_report='' AND compaign_id='82517' AND api_id>0 and api_id=31 ORDER BY id LIMIT 5000 

15 total record 


 publish data 

Array
(
    [unique_id] => 82517_1_31-u122
    [ivr_id] => 100
    [receiver] => 09848665459
    [sarv_api_uniqueid] => 82517_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] => 1765176363470
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 08-Dec-2025 12:16:03 pm 

 1 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_2_31-u122
    [ivr_id] => 100
    [receiver] => 09885808901
    [sarv_api_uniqueid] => 82517_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] => 1765176363475
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 08-Dec-2025 12:16:03 pm 

 2 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_4_31-u122
    [ivr_id] => 100
    [receiver] => 09963809999
    [sarv_api_uniqueid] => 82517_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] => 1765176363478
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 08-Dec-2025 12:16:03 pm 

 4 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_5_31-u122
    [ivr_id] => 100
    [receiver] => 08121647576
    [sarv_api_uniqueid] => 82517_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] => 1765176363482
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 08-Dec-2025 12:16:03 pm 

 5 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_6_31-u122
    [ivr_id] => 100
    [receiver] => 09849028481
    [sarv_api_uniqueid] => 82517_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] => 1765176363487
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 08-Dec-2025 12:16:03 pm 

 6 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_7_31-u122
    [ivr_id] => 100
    [receiver] => 09661900502
    [sarv_api_uniqueid] => 82517_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] => 1765176363491
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 08-Dec-2025 12:16:03 pm 

 7 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_9_31-u122
    [ivr_id] => 100
    [receiver] => 09912354409
    [sarv_api_uniqueid] => 82517_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] => 1765176363499
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 08-Dec-2025 12:16:03 pm 

 9 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='9' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_10_31-u122
    [ivr_id] => 100
    [receiver] => 09701432229
    [sarv_api_uniqueid] => 82517_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] => 1765176363504
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 08-Dec-2025 12:16:03 pm 

 10 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_11_31-u122
    [ivr_id] => 100
    [receiver] => 09848227982
    [sarv_api_uniqueid] => 82517_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] => 1765176363512
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 08-Dec-2025 12:16:03 pm 

 11 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_12_31-u122
    [ivr_id] => 100
    [receiver] => 06305672320
    [sarv_api_uniqueid] => 82517_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] => 1765176363516
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 08-Dec-2025 12:16:03 pm 

 12 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='12' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_13_31-u122
    [ivr_id] => 100
    [receiver] => 08978936879
    [sarv_api_uniqueid] => 82517_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] => 1765176363520
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 08-Dec-2025 12:16:03 pm 

 13 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_14_31-u122
    [ivr_id] => 100
    [receiver] => 07670807576
    [sarv_api_uniqueid] => 82517_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] => 1765176363527
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 08-Dec-2025 12:16:03 pm 

 14 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='14' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_15_31-u122
    [ivr_id] => 100
    [receiver] => 08639375665
    [sarv_api_uniqueid] => 82517_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] => 1765176363529
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 08-Dec-2025 12:16:03 pm 

 15 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_16_31-u122
    [ivr_id] => 100
    [receiver] => 09346519896
    [sarv_api_uniqueid] => 82517_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] => 1765176363537
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 16 before publish time 08-Dec-2025 12:16:03 pm 

 16 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='16' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 82517_18_31-u122
    [ivr_id] => 100
    [receiver] => 09948330997
    [sarv_api_uniqueid] => 82517_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] => 1765176363541
    [announcement_path] => api_1764997177_u122_voice_211
    [voice_duration] => 38
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 08-Dec-2025 12:16:03 pm 

 18 after publish time 08-Dec-2025 12:16:03 pm 

UPDATE `voice_compaign_detail_82517` SET `status`='S',`sent_date`='1765176363' WHERE `id`='18' LIMIT 1 
 

 end loog loop record 1  31