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

8 total record 


 publish data 

Array
(
    [unique_id] => 100221_1_31-u29739
    [ivr_id] => 100
    [receiver] => 09966096486
    [sarv_api_uniqueid] => 100221_1
    [contact_id] => 1
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843887
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 1 before publish time 26-Jan-2026 02:44:03 pm 

 1 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='1' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_2_31-u29739
    [ivr_id] => 100
    [receiver] => 09912466794
    [sarv_api_uniqueid] => 100221_2
    [contact_id] => 2
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843892
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 2 before publish time 26-Jan-2026 02:44:03 pm 

 2 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='2' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_3_31-u29739
    [ivr_id] => 100
    [receiver] => 09848464187
    [sarv_api_uniqueid] => 100221_3
    [contact_id] => 3
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843898
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 3 before publish time 26-Jan-2026 02:44:03 pm 

 3 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='3' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_4_31-u29739
    [ivr_id] => 100
    [receiver] => 09912005172
    [sarv_api_uniqueid] => 100221_4
    [contact_id] => 4
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843902
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 4 before publish time 26-Jan-2026 02:44:03 pm 

 4 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='4' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_6_31-u29739
    [ivr_id] => 100
    [receiver] => 09908977488
    [sarv_api_uniqueid] => 100221_6
    [contact_id] => 6
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843906
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 6 before publish time 26-Jan-2026 02:44:03 pm 

 6 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='6' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_7_31-u29739
    [ivr_id] => 100
    [receiver] => 09885284904
    [sarv_api_uniqueid] => 100221_7
    [contact_id] => 7
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843915
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 7 before publish time 26-Jan-2026 02:44:03 pm 

 7 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='7' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_8_31-u29739
    [ivr_id] => 100
    [receiver] => 09885063649
    [sarv_api_uniqueid] => 100221_8
    [contact_id] => 8
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843919
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 8 before publish time 26-Jan-2026 02:44:03 pm 

 8 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='8' LIMIT 1 


 publish data 

Array
(
    [unique_id] => 100221_10_31-u29739
    [ivr_id] => 100
    [receiver] => 07993836666
    [sarv_api_uniqueid] => 100221_10
    [contact_id] => 10
    [uid] => u29739
    [callerId] => +911409131840
    [dtmf_timeout_manual] => 0
    [retryCount] => Array
        (
            [unanswered] => 0
            [busy] => 0
            [congestion] => 0
            [other] => 0
        )

    [retryInterval] => 0
    [info] => 
    [ramGTime] => 1769418843922
    [announcement_path] => 1769418800_u29739_voice
    [voice_duration] => 22
)
Array
(
    [31] => Array
        (
            [0] => +911409131840
        )

)


rabbitmq name 

 QCall_v60_31

  

 

 10 before publish time 26-Jan-2026 02:44:03 pm 

 10 after publish time 26-Jan-2026 02:44:03 pm 

UPDATE `voice_compaign_detail_100221` SET `status`='S',`sent_date`='1769418843' WHERE `id`='10' LIMIT 1 
 

 end loog loop record 1  31