Update chimes

This commit is contained in:
Christopher Cookman 2024-06-27 23:38:04 -06:00
parent 26779e0c0d
commit 48ab9a7e56
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -2,11 +2,18 @@
This is a simple setup to make your phone system page a page group and play a chime at noon in any number of timezones. This is a simple setup to make your phone system page a page group and play a chime at noon in any number of timezones.
## Requirements
- FreePBX version 15 or greater
- A chime sound file
- A page group set up in FreePBX
- A little bit of Linux knowledge
- Root access to your PBX
## Installation ## Installation
1. Choose a chime sound and upload it to FreePBX through Admin > System Recordings. 1. Choose a chime sound and upload it to FreePBX through Admin > System Recordings.
2. Set up a custom context in Admin > Config Edit. Paste the contents of `custom-context.conf` into the file, save, and apply the config. 2. Using Admin > Config Edit, modify `extensions-custom.conf`, Paste the contents of `custom-context.conf` into the file, then click save.
3. Set up a Custom Dest in Admin > Custom Destinations. Set the target to `chimes,s,1` and give it any description. 3. Set up a Custom Dest in Admin > Custom Destinations. Set the target to `chimes,s,1` and give it any description. Go ahead and click the `Apply Config` button.
4. Set up the script `chimes.sh` in `/root/chimes.sh` and make it executable with `chmod +x /root/chimes.sh`. 4. These next steps will require you to SSH into your PBX. Set up the script `chimes.sh` in `/root/chimes.sh` and make it executable with `chmod +x /root/chimes.sh`.
5. Set up crontab with the following line: `0 * * * * /root/chimes.sh`. 5. Set up crontab with the following line: `0 * * * * /root/chimes.sh`.
## Configuration ## Configuration