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

16 total record 


 publish data 

Array
(
    [unique_id] => 18585_1_31-u122
    [ivr_id] => 100
    [receiver] => 09480611973
    [sarv_api_uniqueid] => 18585_1
    [contact_id] => 1
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582455
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 21-Jan-2025 02:23:02 pm 

 1 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_2_31-u122
    [ivr_id] => 100
    [receiver] => 09620331654
    [sarv_api_uniqueid] => 18585_2
    [contact_id] => 2
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582469
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 21-Jan-2025 02:23:02 pm 

 2 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_4_31-u122
    [ivr_id] => 100
    [receiver] => 09066168944
    [sarv_api_uniqueid] => 18585_4
    [contact_id] => 4
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582485
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 21-Jan-2025 02:23:02 pm 

 4 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_5_31-u122
    [ivr_id] => 100
    [receiver] => 09945560623
    [sarv_api_uniqueid] => 18585_5
    [contact_id] => 5
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582502
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 21-Jan-2025 02:23:02 pm 

 5 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_6_31-u122
    [ivr_id] => 100
    [receiver] => 09980512892
    [sarv_api_uniqueid] => 18585_6
    [contact_id] => 6
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582519
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 21-Jan-2025 02:23:02 pm 

 6 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_7_31-u122
    [ivr_id] => 100
    [receiver] => 09591274700
    [sarv_api_uniqueid] => 18585_7
    [contact_id] => 7
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582535
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 21-Jan-2025 02:23:02 pm 

 7 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_8_31-u122
    [ivr_id] => 100
    [receiver] => 09916746183
    [sarv_api_uniqueid] => 18585_8
    [contact_id] => 8
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582552
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 21-Jan-2025 02:23:02 pm 

 8 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_9_31-u122
    [ivr_id] => 100
    [receiver] => 09632689547
    [sarv_api_uniqueid] => 18585_9
    [contact_id] => 9
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582569
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 21-Jan-2025 02:23:02 pm 

 9 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='9' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_10_31-u122
    [ivr_id] => 100
    [receiver] => 09844160796
    [sarv_api_uniqueid] => 18585_10
    [contact_id] => 10
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582586
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 21-Jan-2025 02:23:02 pm 

 10 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_11_31-u122
    [ivr_id] => 100
    [receiver] => 09606706067
    [sarv_api_uniqueid] => 18585_11
    [contact_id] => 11
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582603
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 21-Jan-2025 02:23:02 pm 

 11 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_12_31-u122
    [ivr_id] => 100
    [receiver] => 09972952848
    [sarv_api_uniqueid] => 18585_12
    [contact_id] => 12
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582619
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 21-Jan-2025 02:23:02 pm 

 12 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='12' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_13_31-u122
    [ivr_id] => 100
    [receiver] => 09008545071
    [sarv_api_uniqueid] => 18585_13
    [contact_id] => 13
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582636
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 21-Jan-2025 02:23:02 pm 

 13 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_14_31-u122
    [ivr_id] => 100
    [receiver] => 09972952827
    [sarv_api_uniqueid] => 18585_14
    [contact_id] => 14
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582653
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 21-Jan-2025 02:23:02 pm 

 14 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='14' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_15_31-u122
    [ivr_id] => 100
    [receiver] => 09902520214
    [sarv_api_uniqueid] => 18585_15
    [contact_id] => 15
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582670
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 21-Jan-2025 02:23:02 pm 

 15 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_16_31-u122
    [ivr_id] => 100
    [receiver] => 09986885649
    [sarv_api_uniqueid] => 18585_16
    [contact_id] => 16
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582686
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 16 before publish time 21-Jan-2025 02:23:02 pm 

 16 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='16' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 18585_17_31-u122
    [ivr_id] => 100
    [receiver] => 09740506491
    [sarv_api_uniqueid] => 18585_17
    [contact_id] => 17
    [uid] => u122
    [callerId] => +911409131823
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1737449582703
    [announcement_path] => api_1736572006_u122_voice_742
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131823
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 21-Jan-2025 02:23:02 pm 

 17 after publish time 21-Jan-2025 02:23:02 pm 

UPDATE `voice_compaign_detail_18585` SET `status`='S',`sent_date`='1737449582' WHERE `id`='17' LIMIT 1 
 

 end loog loop record 1  31