I’ve spent hours trying to figure out why our SIP trunk registration intermittently fails with a 408 Request Timeout when using the Telephony API to update trunk credentials. We are deploying this via an AppFoundry integration and hitting the /api/v2/telephony/sip/lines endpoint. The latency spikes correlate with our OAuth token refresh cycle.
“SIP trunk configuration updates are asynchronous. Poll the status endpoint until the state changes to ACTIVE.”
The status never moves to ACTIVE; it hangs in PENDING for over five minutes before timing out. Any insights?