Default budget placeCall/waitForCall wait for the Media Streams socket
to CONNECT (their timeoutMs), in milliseconds. Twilio may ring the callee
for tens of seconds before either side answers, so this covers ring time
PLUS the socket connect itself, not just the connect.
Exported so a host platform that authenticates the socket at a public
listener in a SEPARATE process (the LangWatch platform's split-process
handoff — see voice-nonce-handoff.ts/voice-nonce-registry.ts) can size
its own nonce lifetime against this exact number rather than guessing a
value that happens to agree with it today. A nonce that expires before this
wait elapses turns a legitimate slow-to-answer call into a false "stream
never connected" failure — the registering TTL must stay >= this constant,
with headroom for the registration round trip itself.
Default budget
placeCall/waitForCallwait for the Media Streams socket to CONNECT (theirtimeoutMs), in milliseconds. Twilio may ring the callee for tens of seconds before either side answers, so this covers ring time PLUS the socket connect itself, not just the connect.Exported so a host platform that authenticates the socket at a public listener in a SEPARATE process (the LangWatch platform's split-process handoff — see
voice-nonce-handoff.ts/voice-nonce-registry.ts) can size its own nonce lifetime against this exact number rather than guessing a value that happens to agree with it today. A nonce that expires before this wait elapses turns a legitimate slow-to-answer call into a false "stream never connected" failure — the registering TTL must stay >= this constant, with headroom for the registration round trip itself.