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

2 total record 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765686722792
    [announcement_path] => 1765686662_u29722_voice
    [voice_duration] => 25
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 14-Dec-2025 10:02:02 am 

 1 after publish time 14-Dec-2025 10:02:02 am 

UPDATE `voice_compaign_detail_87814` SET `status`='S',`sent_date`='1765686722' WHERE `id`='1' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1765686722795
    [announcement_path] => 1765686662_u29722_voice
    [voice_duration] => 25
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 14-Dec-2025 10:02:02 am 

 2 after publish time 14-Dec-2025 10:02:02 am 

UPDATE `voice_compaign_detail_87814` SET `status`='S',`sent_date`='1765686722' WHERE `id`='2' LIMIT 1 
 

 end loog loop record 1  31