-
Notifications
You must be signed in to change notification settings - Fork 76
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
Asterisk (with chan_dongle) and FreePBX #1405
Merged
Merged
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
f6089d9
Initial stab at adding a PBX. Playbooks and necessary config for Aste…
m-anish 571e229
Fix chdir spacing in asterisk.yml
m-anish 5052266
Asterisk: fix playbook syntax
m-anish b0e9d19
Fix asterisk source tarball extraction
m-anish 6ab5321
Asterisk - Installed aptitude. Fix chown command
m-anish 25702f4
Asterisk - fix file ownership and group permissions
m-anish 490812e
Initial stab at installing FreePBX
m-anish 1bd780e
More FreePBX fixes
m-anish 9f27765
Update FreePBX installation path
m-anish c710632
Add checks to install pbx only when sugarizer is absent and nodejs ve…
m-anish 85e03c1
comment out redundant variables from pbx/defaults/main.yml
m-anish 01cfb3f
Add freepbx.conf apache file
m-anish e66104a
Fix freepbx.yml playbook
m-anish 5b41e63
Freepbx - Add libapache2-mpm-itk as a dependency
m-anish d1be5a4
Add freepbx_install_dir variable to defaults/main.yml
m-anish 4a544ab
Stop enabling/disabling asterisk independently, as it will be handled…
m-anish 759160c
Use freepbx_install_dir variable in freepbx.conf.j2 apache2 template
m-anish 4bd9cc2
Freepbx task: Copy apache file; use freepbx_install_dir variable
m-anish 2f8b08d
Fix indentation in asterisk.yml playbook
m-anish e884066
Fix debug syntax in pbx/tasks/main.yml
m-anish e7a0f90
Create freepbx systemd service
m-anish 235284a
Add commented out nodejs_version variable near the pbx flags in vars
m-anish 65a3b02
PBX: Dont install nodejs if incorrect version is chosen
m-anish 5ccf7f3
PBX: fix debug messages
m-anish 61f63e5
Fix nodejs installation condition in pbx
m-anish 8b219b6
Remove unneeded register commands in freepbx.yml playbook
m-anish 72866c7
asterisk.yml, optimze
m-anish 6f31339
pbx/defaults/main.yml: remove deprecated code
m-anish 8dbc4fe
freepbx.yml optimize
m-anish ed5a683
Add a README to PBX role
m-anish 4dcad92
pbx/defaults/main.yml: Add chan_dongle variables, remove unneeded lib…
m-anish 5e68755
Add chan_dongle.yml
m-anish 2a30b22
Include chan_dongle.yml in asterisk.yml
m-anish 983efe5
PBX: Update README.rst with chan_dongle information
m-anish a8fa325
Add asterisk_chan_dongle flag to conditionally allow its install
m-anish e7d842a
Fix and optimize chan_dongle.yml
m-anish 34c0c05
Add asterisk_chan_dongle flag to vars
m-anish 31e5a79
Add make samples to asterisk.yml
m-anish 8b7da40
Add make basic-pbx to asterisk.yml
m-anish 03540d1
Fix asterisk.yml playbook
m-anish 1f254f8
fix chan_dongle.yml playbook - unzip command
m-anish 3e5aae4
Fix chan_dongle.yml again
m-anish 2e9dcb2
chan_dongle fix mv src path
m-anish 92529b8
chan_dongle fix dest path in mv
m-anish b21251d
chandongle use rsync instead of mv
m-anish 2693605
chan_dongle properly extract asterisk version
m-anish 2b443ce
fix missing freepbx_src
m-anish c31046b
remove make basic-pbx from asterisk.yml as it messes up /etc/asterisk…
m-anish 3475982
PBX Fail if proper nodejs version is not set
m-anish 75e4f78
Fix message in pbx/tasks/main.yml
m-anish e44bdc7
Make freepbx.conf apache2 file more secure
m-anish 8367b6c
chan_dongle, copy dongle.conf over
m-anish 9b19f57
Fix syntax in debug msg, pbx/tasks/main.yml
m-anish 379dd8d
Freepbx: Explicitly set asterisk db credentials
m-anish aa8f642
Add make config to asterisk.yml
m-anish 1f3c886
Dont let freepbx take over sessions directory
m-anish 7713b6d
Authenticate db creation with mysql root user
m-anish 8000534
Run FreePBX php sessions in their own directory, to circumvent owners…
m-anish d9f76f7
Do not install freepbx by default in BIG install
m-anish 425df6b
Add pbx and pbx.lan to /etc/hosts
m-anish 7b25c99
Add support for debian 9.7
m-anish 5460e05
PBX: Update README.rst
m-anish cf16721
Update README.rst
holta f2e6b0e
Update local_vars_min.yml
holta b12b2c7
Update local_vars_medium.yml
holta 6cae8dd
Update local_vars_big.yml
holta ef99b88
Update default_vars.yml
holta ddd2678
Update freepbx_dependencies.yml
holta a62e77c
Update main.yml
holta 71a6b6c
Update main.yml
holta f262774
Update main.yml
holta 4d13eff
Update asterisk.yml
holta c2cdd03
Update main.yml
holta 384230d
Update asterisk.yml
holta 190b0d1
Update freepbx.yml
holta 5058ead
Update main.yml
holta 74f29f5
Update main.yml
holta 956294c
Update main.yml
holta e2a5d3d
Update main.yml
holta ed8fe00
Update main.yml
holta b612937
Update main.yml
holta File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m-anish can you make this and Line 14 condition a bit more flexible, so Debian 10 and other Ubuntus (like 19.04 coming in April) and Raspbian-on-RPi might actually work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will once I have tested those platforms. But want to stick to this for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure you understood my point:
Can you please consider is_ubuntu rather than is_ubuntu_18 ? So we avoid sabotaging diverse Ubuntu volunteers who want to expand on your work over the coming year!
Likewise can you please consider
is_debian and (not is_rpi)
instead ofis_debian and ansible_distribution_major_version == "9"
— so that the growing number of Debian 10 people can consider your work? (Without "artificial obstacles" being thrown in their path!)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option might be
is_debian
(just likeis_ubuntu
ideally) simplifying in the future anyway!?