On weekends, the scheduler now runs twice:
- 8am: routes calls to the day shift person (checks DynamoDB -DAY keys)
- 5pm: switches to the night shift person (existing after-hours logic)
Adds two EventBridge rules for weekend 5pm triggers (EST/EDT).
DynamoDB keys: OVERRIDE SK=<date>-DAY, WEEKLY SK=Saturday-Day/Sunday-Day.
The scheduler now checks the afterhours-shifts DynamoDB table before
falling back to the YAML config. This enables the Slack shift manager
bot to drive schedule changes that take effect at the next 8am run.
Same-day changes are handled by direct Lambda invocation from the bot.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix three_cx_client import path for Lambda packaging
- Expand SSM policy to include parent path and KMS decrypt for SecureString
- Add force flag to bypass 8am schedule check for manual invocations
- Add override_extension payload option for ad-hoc testing
- Update .gitignore for output.json and .DS_Store
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Lambda + EventBridge that updates ring group 800 forwarding daily at 8am ET.
Uses 3CX V20 XAPI with OAuth2 auth. Dual cron rules for EST/EDT handling.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>