waha icon indicating copy to clipboard operation
waha copied to clipboard

[GOWS] call events

Open brunojfnet opened this issue 1 year ago • 7 comments

Request Analysis of GOWS implementation for incoming call events (webhook sending)

Reason Currently seeking to use the tool as our main communication API, where we implement AI bots using n8n and typebot, we often need to inform the client that we did not receive a call at the number, but for this we would need to receive the incoming call event, being able to handle this event as needed.

Treatment Implementation of the incoming call event, rejected call, and other events that can be collected from the call.

Objective This implementation would allow us to fully utilize the tool, giving us more freedom to receive call events and handle them clearly and objectively, providing a better experience for our clients and users, making the tool much more concise and complete.

Tested on { "version": "2025.11.2", "engine": "GOWS", "tier": "PLUS", "browser": null }

Image

brunojfnet avatar Nov 27 '25 11:11 brunojfnet

+1 - I also need

patron:PLUS

vhiperdev avatar Nov 27 '25 11:11 vhiperdev

+1

patron:PRO

higorrezend avatar Nov 27 '25 12:11 higorrezend

+1 - Eu também preciso

patron:PLUS

douglasvillar avatar Nov 27 '25 13:11 douglasvillar

English


+1 - I need it too

github-actions[bot] avatar Nov 27 '25 13:11 github-actions[bot]

realted #1258

patron:PRO

devlikepro avatar Nov 28 '25 08:11 devlikepro

✅ Ready and available in dev images:

  • devlikeapro/waha-plus:dev — make sure to select the engine via the environment variable
  • devlikeapro/waha-plus:dev-arm

🚀 Will be included in the next release!


API

Reject Call

Decline an incoming call using its call id and chat id from the call.received event.

POST /api/{session}/calls/reject
{
  "from": "[email protected]",
  "id": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}

👉 Available on WEBJS, GOWS, NOWEB

WAHA emits call.rejected event after the call is declined.


To reject any calls

  1. Listen call.received - get from and id field
  2. Call POST /api/{session}/calls/reject
  3. Send a message or ban the contact, idk.

ℹ️ If anyone needs to "automatically reject calls" with "auto-reply messages" - we'll add it as a calls app, comment +1 the issue https://github.com/devlikeapro/waha/issues/1694

patron:PRO

devlikepro avatar Dec 03 '25 06:12 devlikepro

2025.12.1 - GOWS - Add call events - #1673

patron:PRO

devlikepro avatar Dec 05 '25 08:12 devlikepro