Files
whatsapp/services
Lizandro GuarnizoandClaude Sonnet 4.6 5acd46df5a fix(turnero): route incoming messages by phone_number_id and fix WhatsAppService canal
- WhatsAppService($canal): when 'turnero', swaps phoneNumberId to whatsapp_phone_number_id_turnero
  so outgoing messages actually go from the turnero number (not the main bot)
- webhook.php: reads metadata.phone_number_id from the payload and compares it to
  whatsapp_phone_number_id_turnero; if it matches, saves canal='turnero' and skips bot processing
- Previously all incoming messages had canal=NULL/bot so Chat Turnero never saw them,
  and all outgoing messages from Chat Turnero were sent via the wrong (main bot) number

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-03 08:26:11 -05:00
..
p
2026-05-27 10:30:47 -05:00
up
2026-02-06 09:38:36 -05:00
2026-01-13 01:48:33 -05:00
up
2026-01-24 02:15:54 -05:00
2026-01-13 01:48:33 -05:00
2026-01-13 01:48:33 -05:00
2026-01-13 01:48:33 -05:00
up
2026-02-20 09:07:37 -05:00
up
2026-01-27 23:56:49 -05:00