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

20 total record 


 publish data 

Array
(
    [unique_id] => 16571_1_31-u164
    [ivr_id] => 100
    [receiver] => 07045348938
    [sarv_api_uniqueid] => 16571_1
    [contact_id] => 1
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462907
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 05-Jan-2025 10:01:02 am 

 1 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_2_31-u164
    [ivr_id] => 100
    [receiver] => 07306614969
    [sarv_api_uniqueid] => 16571_2
    [contact_id] => 2
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462923
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 05-Jan-2025 10:01:02 am 

 2 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_3_31-u164
    [ivr_id] => 100
    [receiver] => 07760896277
    [sarv_api_uniqueid] => 16571_3
    [contact_id] => 3
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462940
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 05-Jan-2025 10:01:02 am 

 3 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_5_31-u164
    [ivr_id] => 100
    [receiver] => 07780381908
    [sarv_api_uniqueid] => 16571_5
    [contact_id] => 5
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462957
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 05-Jan-2025 10:01:02 am 

 5 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_7_31-u164
    [ivr_id] => 100
    [receiver] => 08129722802
    [sarv_api_uniqueid] => 16571_7
    [contact_id] => 7
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462976
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 05-Jan-2025 10:01:02 am 

 7 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_10_31-u164
    [ivr_id] => 100
    [receiver] => 08973252575
    [sarv_api_uniqueid] => 16571_10
    [contact_id] => 10
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051462993
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 05-Jan-2025 10:01:02 am 

 10 after publish time 05-Jan-2025 10:01:02 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051462' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_11_31-u164
    [ivr_id] => 100
    [receiver] => 09133475850
    [sarv_api_uniqueid] => 16571_11
    [contact_id] => 11
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463009
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 05-Jan-2025 10:01:03 am 

 11 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_13_31-u164
    [ivr_id] => 100
    [receiver] => 09495022888
    [sarv_api_uniqueid] => 16571_13
    [contact_id] => 13
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463020
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 05-Jan-2025 10:01:03 am 

 13 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_14_31-u164
    [ivr_id] => 100
    [receiver] => 09497583275
    [sarv_api_uniqueid] => 16571_14
    [contact_id] => 14
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463031
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 05-Jan-2025 10:01:03 am 

 14 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='14' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_15_31-u164
    [ivr_id] => 100
    [receiver] => 09711815026
    [sarv_api_uniqueid] => 16571_15
    [contact_id] => 15
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463049
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 05-Jan-2025 10:01:03 am 

 15 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_16_31-u164
    [ivr_id] => 100
    [receiver] => 09717939234
    [sarv_api_uniqueid] => 16571_16
    [contact_id] => 16
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463065
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 16 before publish time 05-Jan-2025 10:01:03 am 

 16 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='16' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_18_31-u164
    [ivr_id] => 100
    [receiver] => 09740446425
    [sarv_api_uniqueid] => 16571_18
    [contact_id] => 18
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463082
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 05-Jan-2025 10:01:03 am 

 18 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='18' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_19_31-u164
    [ivr_id] => 100
    [receiver] => 09747328265
    [sarv_api_uniqueid] => 16571_19
    [contact_id] => 19
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463101
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 19 before publish time 05-Jan-2025 10:01:03 am 

 19 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='19' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_21_31-u164
    [ivr_id] => 100
    [receiver] => 09810821839
    [sarv_api_uniqueid] => 16571_21
    [contact_id] => 21
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463118
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 21 before publish time 05-Jan-2025 10:01:03 am 

 21 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='21' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_24_31-u164
    [ivr_id] => 100
    [receiver] => 09870997662
    [sarv_api_uniqueid] => 16571_24
    [contact_id] => 24
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463134
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 24 before publish time 05-Jan-2025 10:01:03 am 

 24 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='24' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_26_31-u164
    [ivr_id] => 100
    [receiver] => 09895684937
    [sarv_api_uniqueid] => 16571_26
    [contact_id] => 26
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463153
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 26 before publish time 05-Jan-2025 10:01:03 am 

 26 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='26' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_29_31-u164
    [ivr_id] => 100
    [receiver] => 09943436015
    [sarv_api_uniqueid] => 16571_29
    [contact_id] => 29
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463170
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 29 before publish time 05-Jan-2025 10:01:03 am 

 29 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='29' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_30_31-u164
    [ivr_id] => 100
    [receiver] => 09959392028
    [sarv_api_uniqueid] => 16571_30
    [contact_id] => 30
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463187
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 30 before publish time 05-Jan-2025 10:01:03 am 

 30 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='30' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_33_31-u164
    [ivr_id] => 100
    [receiver] => 09964134373
    [sarv_api_uniqueid] => 16571_33
    [contact_id] => 33
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463205
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 33 before publish time 05-Jan-2025 10:01:03 am 

 33 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='33' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 16571_34_31-u164
    [ivr_id] => 100
    [receiver] => 07907112160
    [sarv_api_uniqueid] => 16571_34
    [contact_id] => 34
    [uid] => u164
    [callerId] => +911409131850
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1736051463221
    [announcement_path] => 1729249381_u164_voice
    [voice_duration] => 29
)
Array
(
    [31] => Array
        (
            [0] => +911409131850
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 34 before publish time 05-Jan-2025 10:01:03 am 

 34 after publish time 05-Jan-2025 10:01:03 am 

UPDATE `voice_compaign_detail_16571` SET `status`='S',`sent_date`='1736051463' WHERE `id`='34' LIMIT 1 
 

 end loog loop record 1  31