BYOC Trunk Registration Timeout with ServiceNow Webhook Payload

I’m completely stumped as to why the BYOC trunk fails to register when the initial health check originates from the ServiceNow automated ticketing flow. The SIP 200 OK is received, but the subsequent WebSocket handshakes drop immediately.

The environment is Genesys Cloud EU-West-1 connected to a custom SIP trunk. We are using Data Actions to push ticket metadata via HTTPS POST before the voice leg establishes. Latency is under 150ms.

The logs show a 504 Gateway Timeout specifically on the interaction.create event. The payload size is minimal, roughly 2KB. Standard webhooks work fine, but this specific flow triggers the failure.

Has anyone seen this behavior with high-volume digital channel integrations? We have verified the firewall rules allow all outbound traffic on 443 and 5060.

If I remember correctly…

Cause: Data Action default timeout (5000ms) is insufficient for ServiceNow webhook latency.

Solution: Increase timeout_ms in genesyscloud_flow_action_data_action.

resource "genesyscloud_flow_action_data_action" "sn_sync" {
 timeout_ms = 10000
}