[2026-05-14 01:33:51] [info] Metin mesajı gönderimi başarılı | Data: {"payload":{"messaging_product":"whatsapp","to":"905392476660","type":"text","text":{"body":"📊 Sistem Durumu\nToplam müşteri: 4\nSon 24 saat: 1\nZaman: 01:33 14\/05\/2026"}},"response":"{\"messaging_product\":\"whatsapp\",\"contacts\":[{\"input\":\"905392476660\",\"wa_id\":\"905392476660\"}],\"messages\":[{\"id\":\"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSNkMxMDdEREQ1QUI0MTIwNjRCAA==\"}]}"}
[2026-05-14 01:33:53] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSNkMxMDdEREQ1QUI0MTIwNjRCAA==","status":"failed","timestamp":"1778711631","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}}
[2026-05-14 01:33:53] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSNkMxMDdEREQ1QUI0MTIwNjRCAA==","status":"failed","timestamp":"1778711631","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}
[2026-05-14 01:34:05] [debug] Webhook doğrulama isteği alındı | Data: {"mode":"","verify_token":"","challenge":""}
[2026-05-14 01:34:06] [info] Sistemi Yeniden Başlatma Betiği çalıştırıldı.
[2026-05-14 01:34:07] [info] Metin mesajı gönderimi başarılı | Data: {"payload":{"messaging_product":"whatsapp","to":"905392476660","type":"text","text":{"body":"✅ WhatsApp Köprü Sistemi başarıyla yeniden başlatıldı.\nZaman: 2026-05-14 01:34:06"}},"response":"{\"messaging_product\":\"whatsapp\",\"contacts\":[{\"input\":\"905392476660\",\"wa_id\":\"905392476660\"}],\"messages\":[{\"id\":\"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQ0VDRUVEOTlBMTYyMDFBNjg4AA==\"}]}"}
[2026-05-14 01:34:10] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQ0VDRUVEOTlBMTYyMDFBNjg4AA==","status":"failed","timestamp":"1778711647","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}}
[2026-05-14 01:34:10] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQ0VDRUVEOTlBMTYyMDFBNjg4AA==","status":"failed","timestamp":"1778711647","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}
[2026-05-14 13:48:10] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"profile":{"name":"Adnan Köybaşı"},"wa_id":"908508850951","user_id":"TR.1319795433403272"}],"messages":[{"from":"908508850951","from_user_id":"TR.1319795433403272","id":"wamid.HBgMOTA4NTA4ODUwOTUxFQIAEhgUMkE0ODg5NEY2MEU3NUU5MUVFMUQA","timestamp":"1778755684","text":{"body":"Gelsin"},"type":"text"}]},"field":"messages"}]}]}}
[2026-05-14 13:48:10] [debug] Mesaj işlenmiş olarak kaydedildi | Data: {"whatsapp_message_id":"wamid.HBgMOTA4NTA4ODUwOTUxFQIAEhgUMkE0ODg5NEY2MEU3NUU5MUVFMUQA"}
[2026-05-14 13:48:10] [debug] Mesajın operatörden olup olmadığı kontrol ediliyor | Data: {"phone_number":"908508850951","operator_phone":"905392476660","sender_clean":"908508850951","operator_clean":"905392476660","is_operator":false}
[2026-05-14 13:48:10] [debug] sendMessageToOperator çağrıldı | Data: {"customer_code":"A002","customer_name":"Adnan Köybaşı","customer_phone":"908508850951","message":"Gelsin","message_type":"text","media_url":null,"location_data":null}
[2026-05-14 13:48:11] [info] Metin mesajı gönderimi başarılı | Data: {"payload":{"messaging_product":"whatsapp","to":"905392476660","type":"text","text":{"body":"[A002]\nAdnan Köybaşı\n(908508850951): Gelsin"}},"response":"{\"messaging_product\":\"whatsapp\",\"contacts\":[{\"input\":\"905392476660\",\"wa_id\":\"905392476660\"}],\"messages\":[{\"id\":\"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQzA3QkYzNzJBRTMzRThDMzMxAA==\"}]}"}
[2026-05-14 13:48:11] [info] Müşteri mesajı operatöre iletildi | Data: {"customer_code":"A002","customer_phone":"908508850951","message_type":"text","forwarded_whatsapp_message_id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQzA3QkYzNzJBRTMzRThDMzMxAA=="}
[2026-05-14 13:48:12] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQzA3QkYzNzJBRTMzRThDMzMxAA==","status":"failed","timestamp":"1778755691","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}}
[2026-05-14 13:48:12] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSQzA3QkYzNzJBRTMzRThDMzMxAA==","status":"failed","timestamp":"1778755691","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","errors":[{"code":131047,"title":"Re-engagement message","message":"Re-engagement message","error_data":{"details":"Message failed to send because more than 24 hours have passed since the customer last replied to this number."},"href":"https:\/\/developers.facebook.com\/docs\/whatsapp\/cloud-api\/support\/error-codes\/"}]}]},"field":"messages"}]}]}
[2026-05-14 13:48:48] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"profile":{"name":"Unknown"},"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"messages":[{"from":"905392476660","from_user_id":"TR.1325554602827355","id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAEhgUM0FDOUQ0MDYyQ0UxNThBQjBEMUUA","timestamp":"1778755726","text":{"body":"Gelsib"},"type":"text"}]},"field":"messages"}]}]}}
[2026-05-14 13:48:48] [debug] Mesaj işlenmiş olarak kaydedildi | Data: {"whatsapp_message_id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAEhgUM0FDOUQ0MDYyQ0UxNThBQjBEMUUA"}
[2026-05-14 13:48:48] [debug] Mesajın operatörden olup olmadığı kontrol ediliyor | Data: {"phone_number":"905392476660","operator_phone":"905392476660","sender_clean":"905392476660","operator_clean":"905392476660","is_operator":true}
[2026-05-14 13:48:48] [debug] Operatör mesajı işleniyor (handleOperatorMessage) | Data: {"message_info_type":"text","message_info_text":"Gelsib","message_info_context_id":null,"interactive_reply_id":null}
[2026-05-14 13:48:48] [debug] Operatör mesajı ayrıştırılıyor | Data: {"mesaj":"Gelsib"}
[2026-05-14 13:48:48] [debug] Operatör mesajında müşteri kodu bulunamadı | Data: {"mesaj":"Gelsib"}
[2026-05-14 13:48:48] [debug] handleOperatorMessage sonrası müşteri kodu durumu | Data: {"final_customer_code":null}
[2026-05-14 13:48:49] [info] İnteraktif mesaj gönderimi başarılı | Data: {"payload":{"messaging_product":"whatsapp","recipient_type":"individual","to":"905392476660","type":"interactive","interactive":{"type":"button","body":{"text":"Bu mesajı kime göndermek istersiniz?"},"action":{"buttons":[{"type":"reply","reply":{"id":"confirm_18_A002","title":"Adnan Köybaşı"}},{"type":"reply","reply":{"id":"confirm_18_A001","title":"Truva - Satın Alma"}}]}}},"response":"{\"messaging_product\":\"whatsapp\",\"contacts\":[{\"input\":\"905392476660\",\"wa_id\":\"905392476660\"}],\"messages\":[{\"id\":\"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==\"}]}"}
[2026-05-14 13:48:49] [info] Operatöre interaktif teyit mesajı gönderildi. | Data: {"pending_message_id":"18","original_message":"Gelsib"}
[2026-05-14 13:48:51] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"sent","timestamp":"1778755729","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","expiration_timestamp":"1778755730","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}}
[2026-05-14 13:48:51] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"sent","timestamp":"1778755729","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","expiration_timestamp":"1778755730","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}
[2026-05-14 13:48:52] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"delivered","timestamp":"1778755730","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}}
[2026-05-14 13:48:52] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"delivered","timestamp":"1778755730","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}
[2026-05-14 13:48:52] [debug] Gelen webhook mesajı | Data: {"payload":{"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"read","timestamp":"1778755730","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}}
[2026-05-14 13:48:52] [debug] Webhook durum güncellemesi alındı (işlenmiyor) | Data: {"object":"whatsapp_business_account","entry":[{"id":"719359780725589","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"905334610555","phone_number_id":"690571787477547"},"contacts":[{"wa_id":"905392476660","user_id":"TR.1325554602827355"}],"statuses":[{"id":"wamid.HBgMOTA1MzkyNDc2NjYwFQIAERgSRjE2NjJDM0UwMjlEN0M5QTU5AA==","status":"read","timestamp":"1778755730","recipient_id":"905392476660","recipient_user_id":"TR.1325554602827355","conversation":{"id":"997ed2ca03eb5b1003c8e2e865aa6453","origin":{"type":"service"}},"pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}
