Looking for advice on handling WebSocket 502 errors when routing digital sessions through our Singapore BYOC trunks.
We have configured a custom integration to map incoming webchat sessions to specific SIP trunks for CTI popup purposes, but the connection drops immediately upon session creation. The Architect flow shows a successful ‘Start Conversation’ action, yet the frontend receives a 502 Bad Gateway from the websocket endpoint. This happens specifically on trunks registered in the Asia/Singapore region, while our US trunks function normally. We are using the latest Genesys Cloud Web Chat SDK and have verified that the trunk registration status is active with no SIP errors in the logs. The issue appears to be related to how the platform handles the bridge between the digital channel and the telephony trunk metadata, causing the websocket to terminate before the first message is exchanged. Any insights into the correct configuration for exposing trunk data to digital sessions without triggering gateway timeouts?