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

21 total record 


 publish data 

Array
(
    [unique_id] => 57905_2_31-u179
    [ivr_id] => 100
    [receiver] => 09950506175
    [sarv_api_uniqueid] => 57905_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] => 1757651762442
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 12-Sep-2025 10:06:02 am 

 2 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_3_31-u179
    [ivr_id] => 100
    [receiver] => 07976350942
    [sarv_api_uniqueid] => 57905_3
    [contact_id] => 3
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 12-Sep-2025 10:06:02 am 

 3 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_4_31-u179
    [ivr_id] => 100
    [receiver] => 08619911823
    [sarv_api_uniqueid] => 57905_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] => 1757651762449
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 12-Sep-2025 10:06:02 am 

 4 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_5_31-u179
    [ivr_id] => 100
    [receiver] => 09667864376
    [sarv_api_uniqueid] => 57905_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] => 1757651762452
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 12-Sep-2025 10:06:02 am 

 5 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='5' LIMIT 1 


 publish data 

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

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

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 12-Sep-2025 10:06:02 am 

 6 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_7_31-u179
    [ivr_id] => 100
    [receiver] => 09509891836
    [sarv_api_uniqueid] => 57905_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] => 1757651762460
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 12-Sep-2025 10:06:02 am 

 7 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_8_31-u179
    [ivr_id] => 100
    [receiver] => 08741933869
    [sarv_api_uniqueid] => 57905_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] => 1757651762462
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 12-Sep-2025 10:06:02 am 

 8 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_9_31-u179
    [ivr_id] => 100
    [receiver] => 06375773084
    [sarv_api_uniqueid] => 57905_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] => 1757651762465
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 12-Sep-2025 10:06:02 am 

 9 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='9' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_10_31-u179
    [ivr_id] => 100
    [receiver] => 09672017079
    [sarv_api_uniqueid] => 57905_10
    [contact_id] => 10
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 12-Sep-2025 10:06:02 am 

 10 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='10' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_11_31-u179
    [ivr_id] => 100
    [receiver] => 07611047470
    [sarv_api_uniqueid] => 57905_11
    [contact_id] => 11
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 11 before publish time 12-Sep-2025 10:06:02 am 

 11 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='11' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_12_31-u179
    [ivr_id] => 100
    [receiver] => 08741077231
    [sarv_api_uniqueid] => 57905_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] => 1757651762478
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 12 before publish time 12-Sep-2025 10:06:02 am 

 12 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='12' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_13_31-u179
    [ivr_id] => 100
    [receiver] => 09784769797
    [sarv_api_uniqueid] => 57905_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] => 1757651762485
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 13 before publish time 12-Sep-2025 10:06:02 am 

 13 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='13' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_14_31-u179
    [ivr_id] => 100
    [receiver] => 08708982643
    [sarv_api_uniqueid] => 57905_14
    [contact_id] => 14
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 12-Sep-2025 10:06:02 am 

 14 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='14' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_15_31-u179
    [ivr_id] => 100
    [receiver] => 09051830847
    [sarv_api_uniqueid] => 57905_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] => 1757651762491
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 12-Sep-2025 10:06:02 am 

 15 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='15' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_16_31-u179
    [ivr_id] => 100
    [receiver] => 07412017819
    [sarv_api_uniqueid] => 57905_16
    [contact_id] => 16
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

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

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

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='16' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_17_31-u179
    [ivr_id] => 100
    [receiver] => 09352579716
    [sarv_api_uniqueid] => 57905_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] => 1757651762499
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 12-Sep-2025 10:06:02 am 

 17 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='17' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_21_31-u179
    [ivr_id] => 100
    [receiver] => 09460268099
    [sarv_api_uniqueid] => 57905_21
    [contact_id] => 21
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 21 before publish time 12-Sep-2025 10:06:02 am 

 21 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='21' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_23_31-u179
    [ivr_id] => 100
    [receiver] => 06378929367
    [sarv_api_uniqueid] => 57905_23
    [contact_id] => 23
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 23 before publish time 12-Sep-2025 10:06:02 am 

 23 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='23' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_24_31-u179
    [ivr_id] => 100
    [receiver] => 09802385411
    [sarv_api_uniqueid] => 57905_24
    [contact_id] => 24
    [uid] => u179
    [callerId] => +911409131849
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 2
            [other] => 2
        )

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

)


rabbitmq name 

 QCall_v60_31

  

 

 24 before publish time 12-Sep-2025 10:06:02 am 

 24 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='24' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_26_31-u179
    [ivr_id] => 100
    [receiver] => 07877845983
    [sarv_api_uniqueid] => 57905_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] => 1757651762512
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 26 before publish time 12-Sep-2025 10:06:02 am 

 26 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='26' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 57905_27_31-u179
    [ivr_id] => 100
    [receiver] => 09897454250
    [sarv_api_uniqueid] => 57905_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] => 1757651762517
    [announcement_path] => 1731645953_u179_voice
    [voice_duration] => 26
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 27 before publish time 12-Sep-2025 10:06:02 am 

 27 after publish time 12-Sep-2025 10:06:02 am 

UPDATE `voice_compaign_detail_57905` SET `status`='S',`sent_date`='1757651762' WHERE `id`='27' LIMIT 1 
 

 end loog loop record 1  31