-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
579 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
name: SignalWire Docs | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
|
||
push: | ||
branches: | ||
- main | ||
# paths: | ||
# - custom-path/** | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
|
||
# paths: | ||
# - custom-path/** | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
name: "Build/push & deploy to swarm" | ||
# The type of runner that the job will run on | ||
uses: signalwire/actions-template/.github/workflows/docker-bp.yml@c53f25701311044e264e448672d40cd67d56a7e7 | ||
with: | ||
PROJECT_NAME: "freeswitch-docs" | ||
SWARM_SERVICE: "signalwire-docs_freeswitch-docs" | ||
PR_MESSAGE: false | ||
SWARM_DEPLOY: true | ||
secrets: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
ENDPOINTID: ${{ secrets.DOCS_ENDPOINT_ID }} | ||
PORTAINER_API_KEY: ${{ secrets.PORTAINER_API_KEY }} | ||
name: "Build image" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Build image | ||
uses: docker/build-push-action@v6 | ||
with: | ||
push: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,19 +34,19 @@ FreeSWITCH™ calls the SENDMAIL program to send voicemail as an email attachmen | |
|
||
Before editing files the correct parameters must be determined. The process is not complicated but getting the settings right for your ISP may take some trial and error. The sample below works if you have your own domain name. You can search the web for "setup email macOS postfix" or "setup outgoing email macOS postfix". Record the following information before editing the configuration files: | ||
|
||
smtpdomain - The domain name for the SMTP email server, typically the ISP or your domain name that Freeswitch will use to send email. The example uses mail.abc.com. | ||
**smtpdomain** - The domain name for the SMTP email server, typically the ISP or your domain name that Freeswitch will use to send email. The example uses mail.abc.com. | ||
|
||
smtp port - The port number of the SMTP email server. Common ports: 25, 26, 465, 587, check the ISP. The example uses 465. | ||
**smtp port** - The port number of the SMTP email server. Common ports: 25, 26, 465, 587, check the ISP. The example uses 465. | ||
|
||
myhostname - The qualified domain name of the computer running FreeSWITCH. The example uses imac1.abc.com. | ||
**myhostname** - The qualified domain name of the computer running FreeSWITCH. The example uses imac1.abc.com. | ||
|
||
fromdomain - The domain name of the send email address. The example uses "abc". | ||
**fromdomain** - The domain name of the send email address. The example uses "abc". | ||
|
||
fromname - The email account name of fromdomain the email is sent from. The example uses "freeswitch". | ||
**fromname** - The email account name of fromdomain the email is sent from. The example uses "freeswitch". | ||
|
||
frompw - The password for the fromname email account. The example uses "SECRET". | ||
**frompw **- The password for the fromname email account. The example uses "SECRET". | ||
|
||
toemail - The target complete email address the email to be sent to. The example uses [email protected]. | ||
**toemail** - The target complete email address the email to be sent to. The example uses [email protected]. | ||
|
||
## Configuring Postfix | ||
|
||
|
@@ -170,12 +170,10 @@ If everyones voicemail are to go to a single common email, you can optionally ma | |
|
||
Edit voicemail.xml and change the line below, make sure to use the valid email account used in the passwords file above: | ||
|
||
Original: \<param name="email-from" value="$\{voicemail_account}@$\{voicemail_domain}"/> | ||
Original: \<param name="email-from" value="\$\{voicemail_account}@$\{voicemail_domain}"/> | ||
Replacement: \<param name="email-from" value="[email protected]"/> | ||
|
||
This voicemail templates also required editing. Change the first line in the conf/voicemail.tpl and notify-voicemail.tpl templates: | ||
|
||
Original: From: "$\{voicemail_caller_id_name}" \<$\{voicemail_caller_id_number}@$\{voicemail_domain}> | ||
Original: From: "\$\{voicemail_caller_id_name}" \<\$\{voicemail_caller_id_number}@\$\{voicemail_domain}> | ||
Replacement: From: "$\{voicemail_caller_id_name}" \<[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.