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

7 total record 


 publish data 

Array
(
    [unique_id] => 29255_2_31-u31
    [ivr_id] => 100
    [receiver] => 09430015141
    [sarv_api_uniqueid] => 29255_2
    [contact_id] => 2
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602583
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 16-Mar-2025 12:00:02 pm 

 2 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_3_31-u31
    [ivr_id] => 100
    [receiver] => 09153432834
    [sarv_api_uniqueid] => 29255_3
    [contact_id] => 3
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602595
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 16-Mar-2025 12:00:02 pm 

 3 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_4_31-u31
    [ivr_id] => 100
    [receiver] => 09709814181
    [sarv_api_uniqueid] => 29255_4
    [contact_id] => 4
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602606
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 16-Mar-2025 12:00:02 pm 

 4 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_5_31-u31
    [ivr_id] => 100
    [receiver] => 07631818282
    [sarv_api_uniqueid] => 29255_5
    [contact_id] => 5
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602617
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 16-Mar-2025 12:00:02 pm 

 5 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_6_31-u31
    [ivr_id] => 100
    [receiver] => 09431693863
    [sarv_api_uniqueid] => 29255_6
    [contact_id] => 6
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602628
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 16-Mar-2025 12:00:02 pm 

 6 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_7_31-u31
    [ivr_id] => 100
    [receiver] => 08603157095
    [sarv_api_uniqueid] => 29255_7
    [contact_id] => 7
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602639
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 16-Mar-2025 12:00:02 pm 

 7 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 29255_8_31-u31
    [ivr_id] => 100
    [receiver] => 09472320548
    [sarv_api_uniqueid] => 29255_8
    [contact_id] => 8
    [uid] => u31
    [callerId] => +911409131892
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1742106602650
    [announcement_path] => 1741505822_u31_voice
    [voice_duration] => 24
)
Array
(
    [31] => Array
        (
            [0] => +911409131892
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 16-Mar-2025 12:00:02 pm 

 8 after publish time 16-Mar-2025 12:00:02 pm 

UPDATE `voice_compaign_detail_29255` SET `status`='S',`sent_date`='1742106602' WHERE `id`='8' LIMIT 1 
 

 end loog loop record 1  31