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

21 total record 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982247
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 16-Sep-2025 10:33:02 am 

 1 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='1' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982253
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 16-Sep-2025 10:33:02 am 

 2 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='2' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982257
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 16-Sep-2025 10:33:02 am 

 4 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='4' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982266
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 16-Sep-2025 10:33:02 am 

 5 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='5' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_7_31-u179
    [ivr_id] => 100
    [receiver] => 07410982876
    [sarv_api_uniqueid] => 58851_7
    [contact_id] => 7
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982270
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 16-Sep-2025 10:33:02 am 

 7 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='7' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982274
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 16-Sep-2025 10:33:02 am 

 8 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_9_31-u179
    [ivr_id] => 100
    [receiver] => 07891914478
    [sarv_api_uniqueid] => 58851_9
    [contact_id] => 9
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982277
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 16-Sep-2025 10:33:02 am 

 9 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='9' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982282
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 16-Sep-2025 10:33:02 am 

 12 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='12' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_13_31-u179
    [ivr_id] => 100
    [receiver] => 07791830035
    [sarv_api_uniqueid] => 58851_13
    [contact_id] => 13
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982285
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 16-Sep-2025 10:33:02 am 

 13 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_15_31-u179
    [ivr_id] => 100
    [receiver] => 08441968021
    [sarv_api_uniqueid] => 58851_15
    [contact_id] => 15
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982287
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 16-Sep-2025 10:33:02 am 

 15 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_17_31-u179
    [ivr_id] => 100
    [receiver] => 07611852805
    [sarv_api_uniqueid] => 58851_17
    [contact_id] => 17
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982291
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 16-Sep-2025 10:33:02 am 

 17 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='17' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_18_31-u179
    [ivr_id] => 100
    [receiver] => 09413242621
    [sarv_api_uniqueid] => 58851_18
    [contact_id] => 18
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982294
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 16-Sep-2025 10:33:02 am 

 18 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='18' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_19_31-u179
    [ivr_id] => 100
    [receiver] => 07878173074
    [sarv_api_uniqueid] => 58851_19
    [contact_id] => 19
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982297
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 19 before publish time 16-Sep-2025 10:33:02 am 

 19 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='19' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_22_31-u179
    [ivr_id] => 100
    [receiver] => 08824723140
    [sarv_api_uniqueid] => 58851_22
    [contact_id] => 22
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982301
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 22 before publish time 16-Sep-2025 10:33:02 am 

 22 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='22' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_25_31-u179
    [ivr_id] => 100
    [receiver] => 09829245712
    [sarv_api_uniqueid] => 58851_25
    [contact_id] => 25
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982303
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 25 before publish time 16-Sep-2025 10:33:02 am 

 25 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='25' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_26_31-u179
    [ivr_id] => 100
    [receiver] => 09414890718
    [sarv_api_uniqueid] => 58851_26
    [contact_id] => 26
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982305
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 26 before publish time 16-Sep-2025 10:33:02 am 

 26 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='26' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_27_31-u179
    [ivr_id] => 100
    [receiver] => 08949468350
    [sarv_api_uniqueid] => 58851_27
    [contact_id] => 27
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982309
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 27 before publish time 16-Sep-2025 10:33:02 am 

 27 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='27' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_28_31-u179
    [ivr_id] => 100
    [receiver] => 09166803950
    [sarv_api_uniqueid] => 58851_28
    [contact_id] => 28
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982313
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 28 before publish time 16-Sep-2025 10:33:02 am 

 28 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='28' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_29_31-u179
    [ivr_id] => 100
    [receiver] => 07006931064
    [sarv_api_uniqueid] => 58851_29
    [contact_id] => 29
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982315
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 29 before publish time 16-Sep-2025 10:33:02 am 

 29 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='29' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_30_31-u179
    [ivr_id] => 100
    [receiver] => 09772115864
    [sarv_api_uniqueid] => 58851_30
    [contact_id] => 30
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982316
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 30 before publish time 16-Sep-2025 10:33:02 am 

 30 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='30' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 58851_31_31-u179
    [ivr_id] => 100
    [receiver] => 08209730878
    [sarv_api_uniqueid] => 58851_31
    [contact_id] => 31
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1757998982318
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 31 before publish time 16-Sep-2025 10:33:02 am 

 31 after publish time 16-Sep-2025 10:33:02 am 

UPDATE `voice_compaign_detail_58851` SET `status`='S',`sent_date`='1757998982' WHERE `id`='31' LIMIT 1 
 

 end loog loop record 1  31