mirror of
https://github.com/Sea-Haven-Industries/ring-scheduler-3cx.git
synced 2026-05-18 20:20:12 +00:00
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>
25 lines
860 B
YAML
25 lines
860 B
YAML
# Ring Group After-Hours Schedule
|
|
# This config controls which extension receives calls when the office is closed.
|
|
# 3CX office hours: 8am - 5pm (configured in 3CX admin)
|
|
# This Lambda runs at 8am daily and sets the after-hours destination for that evening.
|
|
|
|
ring_group_number: "800" # Your ring group extension number
|
|
|
|
# Default weekly schedule: day -> extension for after-hours (5pm - 8am)
|
|
# Saturday/Sunday inherit Friday's setting (Ext 116) unless overridden below
|
|
weekly_schedule:
|
|
Monday: "114"
|
|
Tuesday: "115"
|
|
Wednesday: "114"
|
|
Thursday: "115"
|
|
Friday: "116"
|
|
Saturday: "100"
|
|
Sunday: "100"
|
|
|
|
# Exception overrides: specific dates that differ from the normal pattern
|
|
# Format: YYYY-MM-DD -> extension number
|
|
# These take priority over the weekly schedule
|
|
exceptions:
|
|
# Example: holiday coverage
|
|
# "2026-07-03": "116"
|
|
# "2026-12-24": "114"
|