Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ FREEPBX_GQL_URL=https://pbx.example.com/admin/api/api/gql
FREEPBX_CLIENT_ID=superlongclientidhere
FREEPBX_CLIENT_SECRET=superlongclientsecrethere
FREEPBX_SCOPE=gql:ringgroups gql:framework
DS_RINGGROUP=9002
BACKUP_DS_RINGGROUP=9003
DS_CALLER_ID=<6175550000>
NIGHT_CRON_STRING=0 18 * * *
DAY_CRON_STRING=0 6 * * *
DS_URL=https://ambulanceschedule.example.com/dialert.php
DS_URL_TOKEN=securetokenhere
SUPERVISOR_INFO_FILE=sups.json
TZ=America/New_York
RING_GROUP_PREFIX=100
PBX_CID=1234567890
CRON_STRING=* * * * *
SCHEDULE_URL=http://schedule.example.com/api/schedule
SCHEDULE_TOKEN=superlongscheduletokenhere
CRON_STRING=* * * * *
TZ=America/New_York
ERROR_EMAIL_ADDRESS=errors@example.com
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_USER=user@example.com
SMTP_PASS=superlongsmtppasswordhere
31 changes: 31 additions & 0 deletions api.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{

"startTime": "2026-01-09T12:00:00-0500",
"endTime": "2026-12-31T23:59:59-05:00",
"lastUpdated": "2026-01-09T11:56:39-05:00",
"timezone": "America/New_York",
"recipients": [
{
"role": "primary",
"priority": 1,
"firstName": "",
"lastName": "",
"number": "+15085551234"
},
{
"role": "secondary",
"priority": 2,
"firstName": "",
"lastName": "",
"number": "+15085554321"
},
{
"role": "tertiary",
"priority": 3,
"firstName": "",
"lastName": "",
"number": "+15085557654"
}
],
"hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
Loading