-
Notifications
You must be signed in to change notification settings - Fork 8
chore(freepbx): import nethserver-phonebook-mysql #516
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
base: main
Are you sure you want to change the base?
Conversation
795c3b1
to
d390cb7
Compare
Vendoring the `ns8` branch, starting from nethesis/nethserver-phonebook-mysql@e37e63f
215157c
to
28389e5
Compare
unixodbc files are overwritten on container restart, with this library is possible to use pdo dblib like in business_nts example https://github.com/nethesis/ns8-nethvoice/blob/b0c15755fd627659c75541b232464ccf4a297cff/freepbx/usr/share/phonebooks/samples/business_nts.php#L6
28389e5
to
476aab9
Compare
Remove gamma_enterprise.php sample script as it cannot be tested at this time. Consider re-adding in the future if testing becomes possible.
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
This PR imports the nethserver-phonebook-mysql
package into the FreePBX codebase, replacing a remote download with vendored files. The change transitions from downloading phonebook scripts at build time to including them directly in the repository.
- Vendors the phonebook integration scripts from the
ns8
branch of nethserver-phonebook-mysql - Adds support for MS SQL Server database connectivity through FreeTDS
- Includes sample integration scripts for various CRM systems (VTiger, VTE, Business NTS, WebRecall)
Reviewed Changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
freepbx/Containerfile | Adds FreeTDS dependencies and replaces remote download with local copy |
freepbx/usr/share/phonebooks/phonebook-import | Main Python script for importing contacts from various database sources |
freepbx/usr/share/phonebooks/phonebook | Shell script orchestrating phonebook synchronization |
freepbx/usr/share/phonebooks/*.php | Core PHP scripts for exporting/cleaning phonebook data |
freepbx/usr/share/phonebooks/samples/*.php | Sample integration scripts for external CRM systems |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Vendoring the
ns8
branch, starting from nethesis/nethserver-phonebook-mysql@e37e63fNethServer/dev#7564