Erster Commit

This commit is contained in:
2026-08-22 08:40:29 +02:00
commit 875477d425
1961 changed files with 930336 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
const DEFAULT_RINGING_TIMEOUT_SECONDS = 30;
const RINGING_TIMEOUT_MARGIN_SECONDS = 2;
function dialRequestTimeout(timeout, ringingTimeout) {
const ring = ringingTimeout ?? DEFAULT_RINGING_TIMEOUT_SECONDS;
const floor = ring + RINGING_TIMEOUT_MARGIN_SECONDS;
return Math.max(timeout ?? floor, floor);
}
export {
DEFAULT_RINGING_TIMEOUT_SECONDS,
RINGING_TIMEOUT_MARGIN_SECONDS,
dialRequestTimeout
};
//# sourceMappingURL=dialTimeout.js.map