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

7 total record 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782748
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 02-Apr-2025 07:03:02 pm 

 1 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='1' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782761
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 02-Apr-2025 07:03:02 pm 

 2 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 32159_4_31-u157
    [ivr_id] => 100
    [receiver] => 06302562719
    [sarv_api_uniqueid] => 32159_4
    [contact_id] => 4
    [uid] => u157
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782772
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 02-Apr-2025 07:03:02 pm 

 4 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 32159_5_31-u157
    [ivr_id] => 100
    [receiver] => 09014507410
    [sarv_api_uniqueid] => 32159_5
    [contact_id] => 5
    [uid] => u157
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782784
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 02-Apr-2025 07:03:02 pm 

 5 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 32159_6_31-u157
    [ivr_id] => 100
    [receiver] => 09951339829
    [sarv_api_uniqueid] => 32159_6
    [contact_id] => 6
    [uid] => u157
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782796
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 02-Apr-2025 07:03:02 pm 

 6 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 32159_8_31-u157
    [ivr_id] => 100
    [receiver] => 09618732219
    [sarv_api_uniqueid] => 32159_8
    [contact_id] => 8
    [uid] => u157
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782812
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 02-Apr-2025 07:03:02 pm 

 8 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='8' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1743600782823
    [announcement_path] => 1729169170_u157_voice
    [voice_duration] => 28
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 02-Apr-2025 07:03:02 pm 

 12 after publish time 02-Apr-2025 07:03:02 pm 

UPDATE `voice_compaign_detail_32159` SET `status`='S',`sent_date`='1743600782' WHERE `id`='12' LIMIT 1 
 

 end loog loop record 1  31