SIP 408 timeouts on BYOC trunk failover analytics

Stuck on a weird latency issue with our BYOC trunk analytics. we are seeing SIP 408 Request Timeout errors specifically when the system attempts to pull call detail records during a carrier failover event in the Singapore region.

environment details:

  • 15 BYOC trunks configured across APAC
  • Genesys Cloud API v2 using python SDK 3.4.2
  • endpoint: GET /api/v2/analytics/details/query

the issue is not the voice path itself since calls are routing correctly via the secondary carrier. the problem is the reporting lag. when a trunk goes down and traffic shifts, the analytics API returns empty sets or 504 Gateway Timeout for about 4-6 minutes. this breaks our real-time dashboards.

we have verified that the SIP credentials are valid and registration is stable on the backup carrier. the failover logic in the outbound routing rules is set to ‘sequential’ with a 30s timeout.

is there a known delay in the analytics ingestion pipeline for BYOC traffic during state changes? or is this a configuration issue with how we are querying the data? we need the CDRs to sync within 60 seconds for compliance reporting. any insights on tuning the analytics retention or query window would be helpful. currently looking at the raw sip traces but nothing stands out as malformed.