Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from fonoster:main #27

Open
wants to merge 1,579 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1579 commits
Select commit Hold shift + click to select a range
25e27f1
v0.8.12
psanders Dec 24, 2024
c4dac1c
chore: update ctl's version on README
psanders Dec 24, 2024
75adf7a
fix: add 'sh' to workaround not found error by docker
psanders Dec 24, 2024
880373e
fix: add dmmf to prisma to support fieldEncryptionExtension
psanders Dec 24, 2024
96d8999
v0.8.13
psanders Dec 24, 2024
529d4f6
fix: bump to next patch version
psanders Dec 24, 2024
2db3609
v0.8.14
psanders Dec 24, 2024
8b9ada7
fix: fixing prisma clients collition
psanders Dec 24, 2024
0ebb902
v0.8.15
psanders Dec 24, 2024
45c97d1
fix: add missing prisma client generation
psanders Dec 24, 2024
278d412
fix: add missing libquery binary for linux-musl
psanders Dec 24, 2024
3509817
v0.8.16
psanders Dec 24, 2024
5e5b7cf
chore: updated git gitHead
psanders Dec 24, 2024
849a7d9
fix: generate @prisma/client during the docker image creation
psanders Dec 24, 2024
eac9001
v0.8.17
psanders Dec 24, 2024
e468a68
build(disable): temporarily disable workflows
psanders Dec 24, 2024
9d15a1f
chore: improve apiserver stability
psanders Dec 24, 2024
452c0e9
fix: bump to next patch version
psanders Dec 24, 2024
83c6089
v0.8.18
psanders Dec 24, 2024
8a4e6d2
Merge pull request #683 from Nageswari-droid/feature-678
psanders Dec 25, 2024
fab84b1
fix: re-implement faulty interceptor to work with async call
psanders Dec 25, 2024
3e9b990
v0.8.19
psanders Dec 25, 2024
e39c9f6
chore: fix link to github discussions
psanders Dec 25, 2024
d6e1099
chore: change nats config to reconnect forever
psanders Dec 25, 2024
2d5fb8c
chore: change nats config to reconnect forever
psanders Dec 25, 2024
74e24bb
chore: remove unused import
psanders Dec 26, 2024
422baa7
fix: add missing call reference for SIP_ORIGINATED calls
psanders Dec 26, 2024
7c66e9a
fix: correct InfluxDB query to properly calculate the call duration
psanders Dec 26, 2024
67a446a
chore: make TrunkUri user an optional parameter
psanders Dec 26, 2024
e977396
chore: improve the ctl's ux
psanders Dec 26, 2024
a6ec225
styles: fix arrow styling and spacing of tip container
obrucheoghene Dec 26, 2024
e630d20
format: format files
obrucheoghene Dec 26, 2024
fe2b1c1
Merge pull request #685 from obrucheoghene/feat/Tooltip
psanders Dec 26, 2024
a849cda
chore: improve error handling
psanders Dec 26, 2024
fe1a1ec
chore: improve error handling
psanders Dec 26, 2024
f8cb360
fix: bump to next patch version
psanders Dec 26, 2024
62c7e40
chore(temp): disable pre-commit hooks
psanders Dec 26, 2024
4e605a3
v0.8.20
psanders Dec 26, 2024
d95e7c9
chore: restore pre-commit hooks
psanders Dec 26, 2024
ca9a5ab
chore: move things around for code clean up
psanders Dec 26, 2024
9960b7c
chore: additional wip on the authorization module
psanders Dec 26, 2024
02fbdce
chore: fix unit tests from latest refactoring
psanders Dec 26, 2024
2590a20
v0.8.21
psanders Dec 26, 2024
64b28ca
fix: bump to next patch version
psanders Dec 26, 2024
1be0d58
chore(formatting): code cleanup
psanders Dec 26, 2024
d91a20a
v0.8.22
psanders Dec 26, 2024
cd2ccdd
fix: ensure the 'required' property is included as needed
psanders Dec 27, 2024
0aab940
fix: update to make 'firstMessage' optional
psanders Dec 27, 2024
627b019
v0.8.23
psanders Dec 27, 2024
60c317d
fix: bump to next patch version
psanders Dec 27, 2024
45d0edd
v0.8.24
psanders Dec 27, 2024
cd936bf
fix: avoid hardcoding the database hostname
psanders Dec 27, 2024
1010376
chore: update to include logs formatting
psanders Dec 28, 2024
b48f4ea
fix: update to return authorization result instead of throwing exception
psanders Dec 28, 2024
159876a
v0.8.25
psanders Dec 28, 2024
7024c03
chore: limit the error output to final user/developer
psanders Dec 28, 2024
cda4511
chore: improve assistant's config validation
psanders Dec 28, 2024
515ef7a
fix: ensure the transfer tool is only added if transferOptions is pre…
psanders Dec 28, 2024
ebc2bdd
refactor: rename closures to use 'create' prefix for consistency
psanders Dec 28, 2024
a7acc57
refactor(formatting): rename closures to use 'create' prefix for cons…
psanders Dec 28, 2024
442cc94
refactor: rename closures to use 'create' prefix for consistency
psanders Dec 28, 2024
810aff3
fix: correct reference to VoiceLanguage object
psanders Dec 28, 2024
7a2a933
fix: remove dependency on identity module
psanders Dec 28, 2024
1af5abb
chore: remove the skipIdentity workaround
psanders Dec 28, 2024
8585d4d
fix: bump to next patch version
psanders Dec 28, 2024
f01e634
v0.8.26
psanders Dec 28, 2024
ec5f6b1
chore: improve error handling
psanders Dec 28, 2024
57ba7e6
chore: wip integrating the autopilot as part of Fonoster
psanders Dec 28, 2024
7d0c990
chore: improve error handling for inbound calls authorization
psanders Dec 28, 2024
544f464
chore: add flag to ignore the SDK's client interceptors
psanders Dec 28, 2024
f853bcd
feat: add terms and conditions UI component
Nageswari-droid Dec 29, 2024
b476839
chore: update site's link to point to new docs
psanders Jan 2, 2025
85ff50a
chore: update the copyright year
psanders Jan 2, 2025
f9f60d5
chore: update the copyright year
psanders Jan 2, 2025
bb7f0dd
fix: fix typo
parz3val Jan 2, 2025
2b7029f
fmt: run npm run format in the project root
parz3val Jan 2, 2025
463f3d9
fmt: add missed files
parz3val Jan 2, 2025
ab4e50f
Merge pull request #696 from parz3val/feat/pagination_component
psanders Jan 2, 2025
f82ae5a
docs(README): update contributors
psanders Jan 2, 2025
d47132d
chore: wip integrating the autopilot with the main project
psanders Jan 2, 2025
0f3c802
chore: add quick tutorial for creating API keys
psanders Jan 2, 2025
23473c5
chore: wip integrating the autopilot
psanders Jan 3, 2025
d747d8a
chore: wip integrating the autopilot
psanders Jan 3, 2025
384fb18
chore: wip integrating the autopilot with the main project
psanders Jan 3, 2025
73f31e1
chore: wip integrating the autopilot with the main project
psanders Jan 3, 2025
262e6b8
chore: improve type safety
psanders Jan 3, 2025
29b3427
refactor: use closure pattern 'createNameFunction'
psanders Jan 4, 2025
1b681e9
chore: wip integrating the autopilot with the main project
psanders Jan 4, 2025
76e6f05
chore: wip integrating the autopilot with the main project
psanders Jan 4, 2025
6a83822
chore: wip integrating the autopilot with the main project
psanders Jan 4, 2025
84b95f4
chore: wip integrating the autopilot with the main project
psanders Jan 4, 2025
1a14044
fix: bump to next patch version
psanders Jan 4, 2025
3c50bad
v0.8.27
psanders Jan 4, 2025
28106e9
fix: add missing properties in the autopilot service
psanders Jan 5, 2025
e6ccb61
chore: make credentials an optional database field
psanders Jan 5, 2025
3202ed8
chore: take the accessKeyId from config file
psanders Jan 5, 2025
c563378
chore: fix integration tests
psanders Jan 5, 2025
1226539
chore: remove unnecessary type assertion
psanders Jan 5, 2025
2f74b02
fix: bump to next patch version
psanders Jan 5, 2025
d4faaf7
v0.8.28
psanders Jan 5, 2025
7802593
fix: add missing dependencies
psanders Jan 5, 2025
84b9f5f
v0.8.29
psanders Jan 5, 2025
d3b3c53
chore: fixing broken package publication
psanders Jan 5, 2025
cd6e2db
chore: update git head for all packages
psanders Jan 5, 2025
9f179af
chore: improve the early access guide around the autopilot
psanders Jan 5, 2025
36dd08f
chore: improve the early access guide for clarity
psanders Jan 5, 2025
dd99fc1
chore: improve the early access guide for clarity
psanders Jan 5, 2025
cba5867
chore: improve the early access guide for clarity
psanders Jan 5, 2025
115791d
fix: filter routr resources by workspace accessKeyId
psanders Jan 5, 2025
0a12702
v0.8.30
psanders Jan 5, 2025
08c8f65
chore: update git head from failed publish
psanders Jan 5, 2025
fc98b0e
chore: update copyright year to 2025 across files
psanders Jan 5, 2025
5537c73
fix: add missing accessKeyId extension for Acl resources
psanders Jan 5, 2025
33bb8b6
chore(formatting): add missing accessKeyId extension for Acl resources
psanders Jan 5, 2025
0ad6023
v0.8.31
psanders Jan 5, 2025
a4bde98
fix: force publishing new identity package
psanders Jan 5, 2025
d6bf340
chore(formatting): force publishing new identity package
psanders Jan 5, 2025
94fd592
v0.8.32
psanders Jan 6, 2025
2838e8c
chore: add missing prefix in the early access guide
psanders Jan 6, 2025
12b123a
Update install-the-ctl-and-login.md
eatskolnikov Jan 6, 2025
b2e3436
Merge pull request #701 from eatskolnikov/patch-2
psanders Jan 6, 2025
dc0522f
docs(README): update contributors
psanders Jan 6, 2025
9174726
chore: update to remove deprecated models
psanders Jan 6, 2025
e7c6a7f
chore(formatting): update to remove deprecated models
psanders Jan 6, 2025
c08a85e
Merge branch 'fonoster:main' into feature-689
Nageswari-droid Jan 6, 2025
06a9f55
feat: add MUI modal component
Nageswari-droid Jan 6, 2025
492ba4f
chore: remove version from feature comment
psanders Jan 13, 2025
21357ef
docs(README): update contributors
psanders Jan 13, 2025
aa0053e
chore: remove the installation advisory from main README
psanders Jan 13, 2025
850a25f
chore: minor clean up of README
psanders Jan 13, 2025
faa25ba
fix: replace placeholder endpoint and url for the SDK clients
psanders Jan 13, 2025
03b1eb3
v0.8.33
psanders Jan 13, 2025
618b800
fix: fix default endpoint and url for the SDK clients
psanders Jan 13, 2025
96872ca
v0.8.34
psanders Jan 13, 2025
21b7de9
fix: point the SDK and CTL to the production endpoints
psanders Jan 13, 2025
b4c7dae
fix: bump to next patch version
psanders Jan 13, 2025
b5a5d5e
v0.8.35
psanders Jan 13, 2025
f8d99da
chore: update links to point to new docs
psanders Jan 13, 2025
7fe382e
chore: update links to point to new docs
psanders Jan 13, 2025
4c0c656
fix: bump to next patch version
psanders Jan 13, 2025
1951485
v0.8.36
psanders Jan 13, 2025
a83e07e
fix: remove unnecessary tool parameter from the hangup tool
psanders Jan 15, 2025
e303ee1
fix: make the endpoint parameter optional for Applications update
psanders Jan 15, 2025
5c10b12
v0.8.37
psanders Jan 15, 2025
e3d104b
chore: fix minor typo
psanders Jan 15, 2025
08ad6f7
chore: add missing verb
psanders Jan 15, 2025
4f27070
chore: fix minor docs bug
psanders Jan 15, 2025
cccd23a
chore: add utility to format text document as a single line
psanders Jan 16, 2025
d7524c8
fix: bump to next patch version
psanders Jan 16, 2025
e8ff0f6
v0.8.38
psanders Jan 16, 2025
04b3834
chore: update README with the ctl's version
psanders Jan 16, 2025
52899c1
Merge branch 'fonoster:main' into feature-689
Nageswari-droid Jan 16, 2025
47f06cd
feat: add demo button for testing
Nageswari-droid Jan 16, 2025
554cf4a
Merge pull request #697 from Nageswari-droid/feature-689
psanders Jan 16, 2025
8819817
docs(README): update contributors
psanders Jan 16, 2025
36d01b4
fix: return bad request if the reference is missing
psanders Jan 17, 2025
36eede7
chore: move constants to common package
psanders Jan 17, 2025
3d6498e
chore: update to provide more default for the autopilot configuration
psanders Jan 17, 2025
2d71dce
fix: bump to next patch version
psanders Jan 17, 2025
3ba2a53
v0.8.39
psanders Jan 17, 2025
ba2b6da
chore: improve state machine transitions
psanders Jan 18, 2025
f98c3c2
chore(format): improve state machine transitions
psanders Jan 18, 2025
bc1f66f
fix: bump to the next patch version
psanders Jan 18, 2025
2bbf3da
v0.8.40
psanders Jan 18, 2025
9764ee2
chore: update the ctl's version
psanders Jan 18, 2025
09dfc94
chore: add base language code and the missing regional variant 'es-419'
psanders Jan 18, 2025
5c1543f
chore: improve Autopilot's state machine and tests
psanders Jan 19, 2025
a097ada
chore: improve Autopilot's state machine and tests
psanders Jan 19, 2025
163456d
choew: wip downgrading to SileroVad v4
psanders Jan 19, 2025
036ceb8
choew: wip downgrading to SileroVad v4
psanders Jan 19, 2025
c4134d4
chore: fix Autopilot's machine unit tests
psanders Jan 19, 2025
ec7b842
chore(format): fix Autopilot's machine unit tests
psanders Jan 19, 2025
da86fe6
chore: re-add SileroVad v5 as an experimental vad option
psanders Jan 19, 2025
e2230d6
chore(format): re-add SileroVad v5 as an experimental vad option
psanders Jan 19, 2025
69a525e
fix: refactor and bump to next patch version
psanders Jan 19, 2025
8009f74
fix(format): refactor and bump to next patch version
psanders Jan 19, 2025
9aeac38
v0.8.41
psanders Jan 19, 2025
c4eb8d7
fix: add missing silero model files
psanders Jan 19, 2025
968d24b
fix: bump to next patch version
psanders Jan 19, 2025
640d470
v0.8.42
psanders Jan 19, 2025
c9e5da4
chore: improve the Autopilot's state machine
psanders Jan 20, 2025
9601698
fix: bump to next patch version
psanders Jan 20, 2025
b6971e5
v0.8.43
psanders Jan 20, 2025
701c427
chore: minor docs cleanup
psanders Jan 21, 2025
bee5f06
chore: add missing verb
psanders Jan 21, 2025
b864234
fix: add missing property 'inboundUri' the update method
psanders Jan 21, 2025
5e5d827
chore: remove beta warning from ctl package
psanders Jan 22, 2025
32955ea
v0.8.44
psanders Jan 22, 2025
c88e835
chore: code clean up
psanders Jan 22, 2025
7f752c8
chore: improve Autopilot's state machine
psanders Jan 22, 2025
5f6d93f
fix: bump to next patch version
psanders Jan 22, 2025
5aabc60
v0.8.45
psanders Jan 22, 2025
295204b
chore(format): bump to next patch version
psanders Jan 22, 2025
90453a5
chore: remove unnecesary action from the Autopilot's machine
psanders Jan 23, 2025
286f96c
feat: add workspace component
Nageswari-droid Jan 22, 2025
bc3b6fe
feat: remove width property
Nageswari-droid Jan 23, 2025
a83ca63
docs(README): update contributors
psanders Jan 23, 2025
27fff2a
chore: add welcome demo application to the apiserver service
psanders Jan 23, 2025
d3e97b2
chore(format): add welcome demo application to the apiserver service
psanders Jan 23, 2025
72df837
fix: bump to next patch
psanders Jan 23, 2025
f811ef9
v0.8.46
psanders Jan 23, 2025
f958a14
chore: create special local domains for autopilot and the welcome demo
psanders Jan 24, 2025
d4d5cd3
fix: bump to next patch
psanders Jan 24, 2025
33970ac
v0.8.47
psanders Jan 24, 2025
da56f44
fix: set the welcome demo as the default endpoint during app creation
psanders Jan 24, 2025
6938dea
v0.8.48
psanders Jan 24, 2025
785e163
chore: update the protocol for the default identity issuer
psanders Jan 24, 2025
a7753bc
chore: make IDENTITY_ISSUER a required environment variable
psanders Jan 24, 2025
23ab0db
chore: code cleanup
psanders Jan 25, 2025
9edce69
chore: code cleanup
psanders Jan 25, 2025
18d2e37
chore: change copyright year to 2025
psanders Jan 25, 2025
11994d1
chore: code cleanup
psanders Jan 25, 2025
1840460
chore: wip the InputText component
psanders Jan 25, 2025
222e646
chore: code cleanup
psanders Jan 25, 2025
43d05eb
chore(format): code cleanup
psanders Jan 25, 2025
bee23ca
chore: fix issue with the label's size and margins
psanders Jan 26, 2025
eb31b09
chore: fix issue with the label's size and margins
psanders Jan 26, 2025
7dc428c
chore: fix issue with the label's size and margins
psanders Jan 26, 2025
5b5afab
chore: code cleanup
psanders Jan 26, 2025
040de2c
chore: place components in folders by type
psanders Jan 27, 2025
62bc73c
chore: rename folder 'Shared Components' as 'Core Components' by type
psanders Jan 27, 2025
24c2d9f
chore: change the upper port for Asterisk's RTP to 20000 for more por…
psanders Feb 1, 2025
e399d5c
chore: improve both SileroVad v4 and v5 integration
psanders Feb 1, 2025
e158a3c
chore(format): improve both SileroVad v4 and v5 integration
psanders Feb 1, 2025
cc22786
fix: bump Autopilot to the next patch
psanders Feb 1, 2025
d4aa82f
chore(release): publish v0.8.49 [skip ci]
psanders Feb 1, 2025
0e778f0
fix(typo): bump Autopilot to the next patch
psanders Feb 1, 2025
d0e3736
v0.8.50
psanders Feb 1, 2025
c237c77
fix: bump to the next patch version
psanders Feb 1, 2025
67a0f50
v0.8.51
psanders Feb 1, 2025
1d29adf
chore: remove duplicate file with incorrect casing
psanders Feb 1, 2025
5dd3c54
chore: remove duplicate file with incorrect casing
psanders Feb 1, 2025
417aedc
chore: clean up the Autopilot's fsm
psanders Feb 2, 2025
a242eb0
chore: code cleanup
psanders Feb 2, 2025
cc83710
chore: split the state machine code for maintainability.
psanders Feb 2, 2025
8b31a5f
chore: update proto and autogen code
psanders Feb 2, 2025
782c3af
chore: update proto and autogen code
psanders Feb 2, 2025
2934266
chore: wip capturing stt response time
psanders Feb 2, 2025
bbf7d7e
chore: wip capturing stt response time
psanders Feb 3, 2025
89c3005
chore: wip capturing stt response time
psanders Feb 3, 2025
ecc3e4b
chore: wip capturing stt response time
psanders Feb 3, 2025
a6e83c9
chore: wip capturing stt response time
psanders Feb 3, 2025
e694f85
chore: wip capturing stt response time
psanders Feb 3, 2025
727dc30
chore: add ElevenLabs latency optimizations
psanders Feb 3, 2025
e8f883b
chore(format): add ElevenLabs latency optimizations
psanders Feb 3, 2025
f595032
chore: removed the formatForJson utility in favor of YAML config for …
psanders Feb 3, 2025
468d877
fix: bump to next patch
psanders Feb 3, 2025
772398e
v0.8.52
psanders Feb 3, 2025
5467fdb
fix: switch the transport to UDP for the linkTwilioNumber (for outbound)
psanders Feb 3, 2025
471b2a1
v0.8.53
psanders Feb 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .dockerignore

This file was deleted.

143 changes: 88 additions & 55 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,55 +1,88 @@
# Copy this file into a .env at the root of the projec, before starting
# the API services in "development mode." Use the following prefixes to
# reference the related services:
#
# MS => Media Server (Asterisk)
# MC => Media Controller
# DS => Data Source (Redis)
# DS_AUTH => Data Source for Authentication
# FS => Files Server (Minio)

GLOBAL_SIP_DOMAIN=fonoster.com
SERVICES_ENVS=/path/to/service_envs.json
VAULT_ADDR=http://localhost:8200
VAULT_TOKEN=changeit
SECRETS_POLICY=fonoster-policy
AUTH_RBAC=/path/to/rbac.json
FUNCS_URL=http://faasd.fonoster.net:8080
FUNCS_USERNAME=admin
FUNCS_WORKDIR=/tmp
FUNCS_SECRET=changeit
DOCKER_REGISTRY_ORG=yourorg
DOCKER_REGISTRY_USERNAME=yourorg
DOCKER_REGISTRY_SECRET=changeit
DOCKER_REGISTRY=docker.io
DOCKER_REGISTRY_SERVICE=registry.docker.io
DOCKER_REGISTRY_AUTH_ENDPOINT=https://auth.docker.io/token
MS_ARI_EXTERNAL_URL=http://localhost
MS_ARI_INTERNAL_URL=http://localhost:8088
MS_ARI_USERNAME=ari
MS_ARI_SECRET=changeit
MS_TRUNK=routr
VOICE_URL=http://voice.fonoster:3000
MS_ENDPOINT=sip:voice@default
MS_CONTEXT=local-ctx
MS_EXTENSION=s
DS_HOST=yourapihost
DS_PORT=6379
DS_SECRET=changeit
FS_HOST=yourapihost
FS_PORT=9000
FS_USERNAME=minio
FS_SECRET=minio123
SIPPROXY_API_PORT=4567
SIPPROXY_HOST=sip.fonoster.net
SIPPROXY_API_USERNAME=admin
SIPPROXY_API_SECRET=changeit
LOGS_DRIVER_HOST=yourapihost
LOGS_DRIVER_PORT=24224
LOGS_AGGREGRATOR_HOST=yourapihost
LOGS_AGGREGRATOR_PORT=24224
LOG_OPT_TAG_PREFIX=alpha
APISERVER_ENDPOINT=localhost:50052
PUBLIC_URL=http://localhost:50052
IGNORE_E164_VALIDATION=true
ALLOW_INSECURE=true
# General config
DOCKER_HOST_ADDRESS=/* Host address where the docker containers are running */
APP_URL=http://localhost:8080
ROOT_DOMAIN=fonoster.local
LOGS_LEVEL=verbose
LOGS_TRANSPORT=none
LOGS_FORMAT=json

# Initial location owner credentials
# The server will create a new owner if the email does not exist
# The password will be updated if the email exists
OWNER_NAME=Admin User
[email protected]
OWNER_PASSWORD=changeme

# Identity Config
IDENTITY_ISSUER=http://fonoster.local
IDENTITY_DATABASE_URL=postgresql://postgres:postgres@postgres:5432/fnidentity
IDENTITY_WORKSPACE_INVITATION_URL=http://localhost:8449/api/identity/accept-invite
IDENTITY_WORKSPACE_INVITATION_FAIL_URL=http://localhost:8080/invite-fail
IDENTITY_WORKSPACE_INVITE_EXPIRATION=1d

# Uncomment to enable OAuth2 with Github
# IDENTITY_OAUTH2_GITHUB_ENABLED=true
# IDENTITY_OAUTH2_GITHUB_CLIENT_ID=your-github-client-id
# IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET=your-github-client-secret

# Uncomment to enable user verification
# IDENTITY_USER_VERIFICATION_REQUIRED=true

# SMTP config
SMTP_HOST=your-smtp-server
SMTP_PORT=587
SMTP_SECURE=true
[email protected]
SMTP_AUTH_PASS=secret
SMTP_SENDER="Fonoster Info <[email protected]>"

# Twilio Config (Required if user verification is enabled)
# TWILIO_ACCOUNT_SID=your-twilio-account-sid
# TWILIO_AUTH_TOKEN=your-twilio-auth-token
# TWILIO_PHONE_NUMBER=your-twilio-phone-number

# Database and encryption config
# Create a new encryption key with cloack (https://cloack.47ng.com)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/fonoster
CLOAK_ENCRYPTION_KEY=k1.aesgcm256.MmPSvzCG9fk654bAbl30tsqq4h9d3N4F11hlue8bGAY=

# InfluxDB config
INFLUXDB_URL=http://influxdb:8086
INFLUXDB_INIT_USERNAME=influxdb
INFLUXDB_INIT_PASSWORD=changeme
INFLUXDB_INIT_ORG=fonoster
INFLUXDB_INIT_TOKEN=ghjNQ59FW4oi3bAiMTtfMyVnqtbwq0Iib58D63Lgk3pcrEFFPT0d9tnRKzHk98HNqZJUPc_mpXVkk07_JhBhJg==

# NATS config
NATS_URL=nats://nats:4222

# Routr config
ROUTR_RTPENGINE_HOST=rtpengine
ROUTR_DATABASE_URL=postgresql://postgres:postgres@postgres:5432/routr

# Asterisk config
ASTERISK_ARI_PROXY_URL=http://asterisk:8088
ASTERISK_ARI_USERNAME=ari
ASTERISK_ARI_SECRET=changeme
ASTERISK_SIPPROXY_HOST=/* Must be an IPv4 address */
ASTERISK_SIPPROXY_PORT=5060
ASTERISK_SIPPROXY_USERNAME=voice
ASTERISK_SIPPROXY_SECRET=changeme
ASTERISK_RTP_PORT_START=10000
ASTERISK_RTP_PORT_END=20000
ASTERISK_DTMF_MODE=auto_info
ASTERISK_CODECS=g722,ulaw,alaw

# Uncomment to enable authorization service
# You will need to to run your own authorization service
# Authz config
# AUTHZ_SERVICE_ENABLED=true
# AUTHZ_SERVICE_HOST=authz
# AUTHZ_SERVICE_PORT=50071
# AUTHZ_SERVICE_METHODS=/fonoster.calls.v1beta2.Calls/CreateCall,/fonoster.identity.v1beta2.Identity/CreateWorkspace

# Uncomment to enable custom email and sms templates
# If not set, the default templates will be used
# TEMPLATES_DIR=/path/to/email/templates
96 changes: 96 additions & 0 deletions .env.example.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# General config
DOCKER_HOST_ADDRESS=/* Host address where the docker containers are running */
APP_URL=http://localhost:8080
LOGS_DRIVER_HOST=localhost
LOGS_LEVEL=verbose
LOGS_TRANSPORT=none
LOGS_FORMAT=json

# Initial location owner credentials
# The server will create a new owner if the email does not exist
# The password will be updated if the email exists
OWNER_NAME=Admin User
[email protected]
OWNER_PASSWORD=changeme

# Identity Config
IDENTITY_ISSUER=http://fonoster.local
IDENTITY_PRIVATE_KEY_PATH=.keys/private.pem
IDENTITY_PUBLIC_KEY_PATH=.keys/public.pem
IDENTITY_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fnidentity
IDENTITY_WORKSPACE_INVITATION_URL=http://localhost:8449/api/identity/accept-invite
IDENTITY_WORKSPACE_INVITATION_FAIL_URL=http://localhost:8080/invite-fail

# Uncomment to enable OAuth2 with Github
# IDENTITY_OAUTH2_GITHUB_ENABLED=true
# IDENTITY_OAUTH2_GITHUB_CLIENT_ID=your-github-client-id
# IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET=your-github-client-secret

# Uncomment to enable user verification
# IDENTITY_USER_VERIFICATION_REQUIRED=true

# SMTP config
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_SECURE=false
[email protected]
SMTP_AUTH_PASS=secret
SMTP_SENDER="Fonoster Info <[email protected]>"

# Twilio Config (Required if user verification is enabled)
# TWILIO_ACCOUNT_SID=your-twilio-account-sid
# TWILIO_AUTH_TOKEN=your-twilio-auth-token
# TWILIO_PHONE_NUMBER=your-twilio-phone-number

# Database and encryption config
# Create a new encryption key with cloack (https://cloack.47ng.com)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fonoster
CLOAK_ENCRYPTION_KEY=k1.aesgcm256.MmPSvzCG9fk654bAbl30tsqq4h9d3N4F11hlue8bGAY=

# InfluxDB config
INFLUXDB_URL=http://localhost:8086
INFLUXDB_INIT_USERNAME=influxdb
INFLUXDB_INIT_PASSWORD=changeme
INFLUXDB_INIT_ORG=fonoster
INFLUXDB_INIT_TOKEN=ghjNQ59FW4oi3bAiMTtfMyVnqtbwq0Iib58D63Lgk3pcrEFFPT0d9tnRKzHk98HNqZJUPc_mpXVkk07_JhBhJg==

# NATS config
NATS_URL=nats://localhost:4222

# Routr config
ROUTR_RTPENGINE_HOST=rtpengine
ROUTR_DATABASE_URL=postgresql://postgres:postgres@postgres:5432/routr
ROUTR_API_ENDPOINT=localhost:51907

# Asterisk config
ASTERISK_ARI_PROXY_URL=http://localhost:8088
ASTERISK_ARI_USERNAME=ari
ASTERISK_ARI_SECRET=changeme
ASTERISK_SIPPROXY_HOST=/* Host address where the docker containers are running */
ASTERISK_SIPPROXY_PORT=5060
ASTERISK_SIPPROXY_USERNAME=voice
ASTERISK_SIPPROXY_SECRET=changeme
ASTERISK_RTP_PORT_START=20000
ASTERISK_RTP_PORT_END=20100
ASTERISK_DTMF_MODE=auto_info
ASTERISK_CODECS=g722,ulaw,alaw

# Uncomment to enable authorization service
# You will need to to run your own authorization service
# Authz config
# AUTHZ_SERVICE_ENABLED=true
# AUTHZ_SERVICE_HOST=authz
# AUTHZ_SERVICE_PORT=50071
# AUTHZ_SERVICE_METHODS=/fonoster.calls.v1beta2.Calls/CreateCall,/fonoster.identity.v1beta2.Identity/CreateWorkspace

# Needed to support OpenAI embeddings
OPENAI_API_KEY=your-openai-api-key

# Only needed for development
INTEGRATIONS_FILE=./config/integrations.json

# Uncomment to enable custom email and sms templates
# If not set, the default templates will be used
# TEMPLATES_DIR=/path/to/email/templates
28 changes: 0 additions & 28 deletions .eslintignore

This file was deleted.

37 changes: 0 additions & 37 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Learn how to add code owners here:
# https://help.github.com/en/articles/about-code-owners
* @psanders
1 change: 1 addition & 0 deletions .github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [fonoster]
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

Loading