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

19 total record 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095002975
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 08-Apr-2025 12:20:02 pm 

 1 after publish time 08-Apr-2025 12:20:02 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095002' WHERE `id`='1' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095002994
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 08-Apr-2025 12:20:02 pm 

 2 after publish time 08-Apr-2025 12:20:02 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095002' WHERE `id`='2' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003012
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 08-Apr-2025 12:20:03 pm 

 4 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='4' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003030
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 5 before publish time 08-Apr-2025 12:20:03 pm 

 5 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='5' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003047
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 08-Apr-2025 12:20:03 pm 

 6 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='6' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003065
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 08-Apr-2025 12:20:03 pm 

 7 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='7' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003082
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 9 before publish time 08-Apr-2025 12:20:03 pm 

 9 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='9' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003100
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 14 before publish time 08-Apr-2025 12:20:03 pm 

 14 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='14' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003117
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 15 before publish time 08-Apr-2025 12:20:03 pm 

 15 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='15' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003135
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 16 before publish time 08-Apr-2025 12:20:03 pm 

 16 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='16' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003153
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 17 before publish time 08-Apr-2025 12:20:03 pm 

 17 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='17' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003164
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 18 before publish time 08-Apr-2025 12:20:03 pm 

 18 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='18' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003177
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 19 before publish time 08-Apr-2025 12:20:03 pm 

 19 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='19' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003189
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 22 before publish time 08-Apr-2025 12:20:03 pm 

 22 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='22' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003201
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 23 before publish time 08-Apr-2025 12:20:03 pm 

 23 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='23' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003213
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 24 before publish time 08-Apr-2025 12:20:03 pm 

 24 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='24' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003225
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 25 before publish time 08-Apr-2025 12:20:03 pm 

 25 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='25' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003236
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 29 before publish time 08-Apr-2025 12:20:03 pm 

 29 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='29' LIMIT 1 


 publish data 

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

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1744095003253
    [announcement_path] => api_1744005666_u122_voice_336
    [voice_duration] => 30
)
Array
(
    [31] => Array
        (
            [0] => +911409131849
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 30 before publish time 08-Apr-2025 12:20:03 pm 

 30 after publish time 08-Apr-2025 12:20:03 pm 

UPDATE `voice_compaign_detail_32640` SET `status`='S',`sent_date`='1744095003' WHERE `id`='30' LIMIT 1 
 

 end loog loop record 1  31