generated from NethServer/ns8-kickstart
-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(trunks): allow to enable/disable TOPOS for each trunk #341
Conversation
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
- Added a switch in the trunks interface to enable or disable TOPOS. - When the "disable TOPOS" switch is activated, an "topos=0" header is sent in INVITE requests to instruct the nethvoice-proxy Kamailio to disable the TOPOS module for that specific invite. - TOPOS configuration for trunks is now stored in the NethCTI FreePBX module's configuration key-value store. - Modified the trunk interface and dialplan using dialplan hooks to accommodate the new feature.
- Automatically set the `disable_topos` value for trunks created via the wizard. - Remove the `disable_topos` value when a trunk is deleted via the wizard. - Added a new MySQL table to store default `disable_topos` values. - If no default `disable_topos` value is specified, no header will bi sent and Kamailio will use TOPOS
- Add switch to control the sending of encrypted media on trunks. - Migrate existing trunks to avoid attempting encrypted media with providers where media encryption is disabled.
Removed legacy SQL tables that were used for database initialization in previous versions. Now all database tables are initialized in mariadb container and altered in freepbx/initdb.d
- Create a table kvstore_FreePBX_modules_Nethcti3 for storing custom trunk flags. - Initialize the table during container startup and module installation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
NethServer/dev#7183