mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Update for certified-20.7-cert1-rc2
This commit is contained in:
@@ -1 +1 @@
|
||||
ChangeLogs/ChangeLog-certified-20.7-cert1-rc1.md
|
||||
ChangeLogs/ChangeLog-certified-20.7-cert1-rc2.md
|
295
ChangeLogs/ChangeLog-certified-20.7-cert1-rc2.md
Normal file
295
ChangeLogs/ChangeLog-certified-20.7-cert1-rc2.md
Normal file
@@ -0,0 +1,295 @@
|
||||
|
||||
## Change Log for Release asterisk-certified-20.7-cert1-rc2
|
||||
|
||||
### Links:
|
||||
|
||||
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/certified-asterisk/releases/ChangeLog-certified-20.7-cert1-rc2.md)
|
||||
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/certified-20.7-cert1-rc1...certified-20.7-cert1-rc2)
|
||||
- [Tarball](https://downloads.asterisk.org/pub/telephony/certified-asterisk/asterisk-certified-20.7-cert1-rc2.tar.gz)
|
||||
- [Downloads](https://downloads.asterisk.org/pub/telephony/certified-asterisk)
|
||||
|
||||
### Summary:
|
||||
|
||||
- Commits: 16
|
||||
- Commit Authors: 6
|
||||
- Issues Resolved: 7
|
||||
- Security Advisories Resolved: 0
|
||||
|
||||
### User Notes:
|
||||
|
||||
- #### tcptls/iostream: Add support for setting SNI on client TLS connections
|
||||
Secure websocket client connections now send SNI in
|
||||
the TLS client hello.
|
||||
|
||||
|
||||
### Upgrade Notes:
|
||||
|
||||
- #### pbx_variables.c: Prevent SEGV due to stack overflow.
|
||||
The maximum amount of dialplan recursion
|
||||
using variable substitution (such as by using EVAL_EXTEN)
|
||||
is capped at 15.
|
||||
|
||||
|
||||
### Commit Authors:
|
||||
|
||||
- George Joseph: (8)
|
||||
- Ivan Poddubny: (1)
|
||||
- Martin Nystroem: (1)
|
||||
- Naveen Albert: (1)
|
||||
- Sean Bright: (4)
|
||||
- Spiridonov Dmitry: (1)
|
||||
|
||||
## Issue and Commit Detail:
|
||||
|
||||
### Closed Issues:
|
||||
|
||||
- 480: [improvement]: pbx_variables.c: Prevent infinite recursion and stack overflow with variable expansion
|
||||
- 666: [improvement]: ARI debug should contain endpoint and method
|
||||
- 676: [bug]: res_stir_shaken implicit declaration of function errors/warnings
|
||||
- 689: [bug] Document the `Events` argument of the `Login` AMI action
|
||||
- 713: [bug]: SNI isn't being set on websocket client connections
|
||||
- 716: [bug]: Memory leak in res_stir_shaken tn_config, plus a few other issues
|
||||
- 719: [bug]: segfault on start if compiled with DETECT_DEADLOCKS
|
||||
|
||||
### Commits By Author:
|
||||
|
||||
- ### George Joseph (8):
|
||||
- Fix incorrect application and function documentation references
|
||||
- manager.c: Add missing parameters to Login documentation
|
||||
- rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
|
||||
- make_buildopts_h: Always include DETECT_DEADLOCKS
|
||||
- tcptls/iostream: Add support for setting SNI on client TLS connections
|
||||
- res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
|
||||
- logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
|
||||
- stir_shaken: Fix memory leak, typo in config, tn canonicalization
|
||||
|
||||
- ### Ivan Poddubny (1):
|
||||
- asterisk.c: Fix sending incorrect messages to systemd notify
|
||||
|
||||
- ### Martin Nystroem (1):
|
||||
- res_ari.c: Add additional output to ARI requests when debug is enabled
|
||||
|
||||
- ### Naveen Albert (1):
|
||||
- pbx_variables.c: Prevent SEGV due to stack overflow.
|
||||
|
||||
- ### Sean Bright (4):
|
||||
- alembic: Correct NULLability of PJSIP id columns.
|
||||
- alembic: Quote new MySQL keyword 'qualify.'
|
||||
- res_pjsip: Fix alembic downgrade for boolean columns.
|
||||
- alembic: Fix compatibility with SQLAlchemy 2.0+.
|
||||
|
||||
- ### Spiridonov Dmitry (1):
|
||||
- sorcery.c: Fixed crash error when executing "module reload"
|
||||
|
||||
|
||||
### Commit List:
|
||||
|
||||
- stir_shaken: Fix memory leak, typo in config, tn canonicalization
|
||||
- sorcery.c: Fixed crash error when executing "module reload"
|
||||
- logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
|
||||
- res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
|
||||
- res_ari.c: Add additional output to ARI requests when debug is enabled
|
||||
- alembic: Fix compatibility with SQLAlchemy 2.0+.
|
||||
- pbx_variables.c: Prevent SEGV due to stack overflow.
|
||||
- res_pjsip: Fix alembic downgrade for boolean columns.
|
||||
- alembic: Quote new MySQL keyword 'qualify.'
|
||||
- asterisk.c: Fix sending incorrect messages to systemd notify
|
||||
- tcptls/iostream: Add support for setting SNI on client TLS connections
|
||||
- make_buildopts_h: Always include DETECT_DEADLOCKS
|
||||
- alembic: Correct NULLability of PJSIP id columns.
|
||||
- rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
|
||||
- manager.c: Add missing parameters to Login documentation
|
||||
- Fix incorrect application and function documentation references
|
||||
|
||||
### Commit Details:
|
||||
|
||||
#### stir_shaken: Fix memory leak, typo in config, tn canonicalization
|
||||
Author: George Joseph
|
||||
Date: 2024-04-25
|
||||
|
||||
* Fixed possible memory leak in tn_config:tn_get_etn() where we
|
||||
weren't releasing etn if tn or eprofile were null.
|
||||
* We now canonicalize TNs before using them for lookups or adding
|
||||
them to Identity headers.
|
||||
* Fixed a typo in stir_shaken.conf.sample.
|
||||
|
||||
Resolves: #716
|
||||
|
||||
#### sorcery.c: Fixed crash error when executing "module reload"
|
||||
Author: Spiridonov Dmitry
|
||||
Date: 2024-04-14
|
||||
|
||||
Fixed crash error when cli "module reload". The error appears when
|
||||
compiling with res_prometheus and using the sorcery memory cache for
|
||||
registrations
|
||||
|
||||
|
||||
#### logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
|
||||
Author: George Joseph
|
||||
Date: 2024-04-09
|
||||
|
||||
If you're tracing a large function that may call another function
|
||||
multiple times in different circumstances, it can be difficult to
|
||||
see from the trace output exactly which location that function
|
||||
was called from. There's no good way to automatically determine
|
||||
the calling location. SCOPE_CALL and SCOPE_CALL_WITH_RESULT
|
||||
simply print out a trace line before and after the call.
|
||||
|
||||
The difference between SCOPE_CALL and SCOPE_CALL_WITH_RESULT is
|
||||
that SCOPE_CALL ignores the function's return value (if any) where
|
||||
SCOPE_CALL_WITH_RESULT allows you to specify the type of the
|
||||
function's return value so it can be assigned to a variable.
|
||||
SCOPE_CALL_WITH_INT_RESULT is just a wrapper for SCOPE_CALL_WITH_RESULT
|
||||
and the "int" return type.
|
||||
|
||||
|
||||
#### res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
|
||||
Author: George Joseph
|
||||
Date: 2024-04-01
|
||||
|
||||
* OpenSSL 1.0.2 doesn't support X509_get0_pubkey so we now use
|
||||
X509_get_pubkey. The difference is that X509_get_pubkey requires
|
||||
the caller to free the EVP_PKEY themselves so we now let
|
||||
RAII_VAR do that.
|
||||
* OpenSSL 1.0.2 doesn't support upreffing an X509_STORE so we now
|
||||
wrap it in an ao2 object.
|
||||
* OpenSSL 1.0.2 doesn't support X509_STORE_get0_objects to get all
|
||||
the certs from an X509_STORE and there's no easy way to polyfill
|
||||
it so the CLI commands that list profiles will show a "not
|
||||
supported" message instead of listing the certs in a store.
|
||||
|
||||
Resolves: #676
|
||||
|
||||
#### res_ari.c: Add additional output to ARI requests when debug is enabled
|
||||
Author: Martin Nystroem
|
||||
Date: 2024-03-22
|
||||
|
||||
When ARI debug is enabled the logs will now output http method and the uri.
|
||||
|
||||
Fixes: #666
|
||||
|
||||
#### alembic: Fix compatibility with SQLAlchemy 2.0+.
|
||||
Author: Sean Bright
|
||||
Date: 2024-03-20
|
||||
|
||||
SQLAlchemy 2.0 changed the way that commits/rollbacks are handled
|
||||
causing the final `UPDATE` to our `alembic_version_<whatever>` tables
|
||||
to be rolled back instead of committed.
|
||||
|
||||
We now use one connection to determine which
|
||||
`alembic_version_<whatever>` table to use and another to run the
|
||||
actual migrations. This prevents the erroneous rollback.
|
||||
|
||||
This change is compatible with both SQLAlchemy 1.4 and 2.0.
|
||||
|
||||
|
||||
#### pbx_variables.c: Prevent SEGV due to stack overflow.
|
||||
Author: Naveen Albert
|
||||
Date: 2023-12-04
|
||||
|
||||
It is possible for dialplan to result in an infinite
|
||||
recursion of variable substitution, which eventually
|
||||
leads to stack overflow. If we detect this, abort
|
||||
substitution and log an error for the user to fix
|
||||
the broken dialplan.
|
||||
|
||||
Resolves: #480
|
||||
|
||||
UpgradeNote: The maximum amount of dialplan recursion
|
||||
using variable substitution (such as by using EVAL_EXTEN)
|
||||
is capped at 15.
|
||||
|
||||
|
||||
#### res_pjsip: Fix alembic downgrade for boolean columns.
|
||||
Author: Sean Bright
|
||||
Date: 2024-03-18
|
||||
|
||||
When downgrading, ensure that we don't touch columns that didn't
|
||||
actually change during upgrade.
|
||||
|
||||
|
||||
#### alembic: Quote new MySQL keyword 'qualify.'
|
||||
Author: Sean Bright
|
||||
Date: 2024-03-15
|
||||
|
||||
Fixes #651
|
||||
|
||||
|
||||
#### asterisk.c: Fix sending incorrect messages to systemd notify
|
||||
Author: Ivan Poddubny
|
||||
Date: 2024-05-05
|
||||
|
||||
Send "RELOADING=1" instead of "RELOAD=1" to follow the format
|
||||
expected by systemd (see sd_notify(3) man page).
|
||||
|
||||
Do not send STOPPING=1 in remote console mode:
|
||||
attempting to execute "asterisk -rx" by the main process leads to
|
||||
a warning if NotifyAccess=main (the default) or to a forced termination
|
||||
if NotifyAccess=all.
|
||||
|
||||
|
||||
#### tcptls/iostream: Add support for setting SNI on client TLS connections
|
||||
Author: George Joseph
|
||||
Date: 2024-04-23
|
||||
|
||||
If the hostname field of the ast_tcptls_session_args structure is
|
||||
set (which it is for websocket client connections), that hostname
|
||||
will now automatically be used in an SNI TLS extension in the client
|
||||
hello.
|
||||
|
||||
Resolves: #713
|
||||
|
||||
UserNote: Secure websocket client connections now send SNI in
|
||||
the TLS client hello.
|
||||
|
||||
|
||||
#### make_buildopts_h: Always include DETECT_DEADLOCKS
|
||||
Author: George Joseph
|
||||
Date: 2024-04-27
|
||||
|
||||
Since DETECT_DEADLOCKS is now split from DEBUG_THREADS, it must
|
||||
always be included in buildopts.h instead of only when
|
||||
ADD_CFLAGS_TO_BUILDOPTS_H is defined. A SEGV will result otherwise.
|
||||
|
||||
Resolves: #719
|
||||
|
||||
#### alembic: Correct NULLability of PJSIP id columns.
|
||||
Author: Sean Bright
|
||||
Date: 2024-04-06
|
||||
|
||||
Fixes #695
|
||||
|
||||
|
||||
#### rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
|
||||
Author: George Joseph
|
||||
Date: 2024-04-02
|
||||
|
||||
rtp_engine.c and stun.c were calling ast_register_cleanup which
|
||||
is skipped if any loadable module can't be cleanly unloaded
|
||||
when asterisk shuts down. Since this will always be the case,
|
||||
their cleanup functions never get run. In a practical sense
|
||||
this makes no difference since asterisk is shutting down but if
|
||||
you're in development mode and trying to use the leak sanitizer,
|
||||
the leaks from both of those modules clutter up the output.
|
||||
|
||||
|
||||
#### manager.c: Add missing parameters to Login documentation
|
||||
Author: George Joseph
|
||||
Date: 2024-04-03
|
||||
|
||||
* Added the AuthType and Key parameters for MD5 authentication.
|
||||
|
||||
* Added the Events parameter.
|
||||
|
||||
Resolves: #689
|
||||
|
||||
#### Fix incorrect application and function documentation references
|
||||
Author: George Joseph
|
||||
Date: 2024-04-01
|
||||
|
||||
There were a few references in the embedded documentation XML
|
||||
where the case didn't match or where the referenced app or function
|
||||
simply didn't exist any more. These were causing 404 responses
|
||||
in docs.asterisk.org.
|
||||
|
||||
|
@@ -58,7 +58,7 @@ CREATE TABLE sippeers (
|
||||
regexten VARCHAR(40),
|
||||
fromdomain VARCHAR(40),
|
||||
fromuser VARCHAR(40),
|
||||
qualify VARCHAR(40),
|
||||
`qualify` VARCHAR(40),
|
||||
defaultip VARCHAR(45),
|
||||
rtptimeout INTEGER,
|
||||
rtpholdtimeout INTEGER,
|
||||
@@ -146,7 +146,7 @@ CREATE TABLE iaxfriends (
|
||||
disallow VARCHAR(200),
|
||||
allow VARCHAR(200),
|
||||
codecpriority VARCHAR(40),
|
||||
qualify VARCHAR(10),
|
||||
`qualify` VARCHAR(10),
|
||||
qualifysmoothing ENUM('yes','no'),
|
||||
qualifyfreqok VARCHAR(10),
|
||||
qualifyfreqnotok VARCHAR(10),
|
||||
@@ -1497,8 +1497,6 @@ ALTER TABLE ps_aors MODIFY authenticate_qualify ENUM('0','1','off','on','false',
|
||||
|
||||
ALTER TABLE ps_aors MODIFY remove_existing ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_aors MODIFY remove_unavailable ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_aors MODIFY support_path ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_asterisk_publications MODIFY device_state ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1511,8 +1509,6 @@ ALTER TABLE ps_contacts MODIFY prune_on_boot ENUM('0','1','off','on','false','tr
|
||||
|
||||
ALTER TABLE ps_endpoint_id_ips MODIFY srv_lookups ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY `100rel` ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY accept_multiple_sdp_answers ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY aggregate_mwi ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1523,8 +1519,6 @@ ALTER TABLE ps_endpoints MODIFY allow_subscribe ENUM('0','1','off','on','false',
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY allow_transfer ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY allow_unauthenticated_options ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY asymmetric_rtp_codec ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY bind_rtp_to_media_address ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1549,8 +1543,6 @@ ALTER TABLE ps_endpoints MODIFY g726_non_standard ENUM('0','1','off','on','false
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY ice_support ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY ignore_183_without_sdp ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY inband_progress ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY media_encryption_optimistic ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1559,8 +1551,6 @@ ALTER TABLE ps_endpoints MODIFY media_use_received_transport ENUM('0','1','off',
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY moh_passthrough ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY mwi_subscribe_replaces_unsolicited ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY notify_early_inuse_ringing ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY one_touch_recording ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1579,36 +1569,22 @@ ALTER TABLE ps_endpoints MODIFY rtp_ipv6 ENUM('0','1','off','on','false','true',
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY rtp_symmetric ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_aoc ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_connected_line ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_diversion ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_history_info ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_pai ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY send_rpid ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY srtp_tag_32 ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY stir_shaken ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY suppress_q850_reason_headers ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY t38_bind_udptl_to_media_address ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY t38_udptl ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY t38_udptl_ipv6 ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY t38_udptl_nat ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY timers ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY trust_connected_line ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY trust_id_inbound ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY trust_id_outbound ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1621,22 +1597,12 @@ ALTER TABLE ps_endpoints MODIFY user_eq_phone ENUM('0','1','off','on','false','t
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY webrtc ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY all_codecs_on_empty_reinvite ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY allow_sending_180_after_183 ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY disable_multi_domain ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY ignore_uri_user_options ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY mwi_disable_initial_unsolicited ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY norefersub ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY send_contact_status_on_update_registration ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_globals MODIFY use_callerid_contact ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_outbound_publishes MODIFY multi_user ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_registrations MODIFY auth_rejection_permanent ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1647,16 +1613,12 @@ ALTER TABLE ps_registrations MODIFY support_path ENUM('0','1','off','on','false'
|
||||
|
||||
ALTER TABLE ps_resource_list MODIFY full_state ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_resource_list MODIFY resource_display_name ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_subscription_persistence MODIFY prune_on_boot ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_systems MODIFY accept_multiple_sdp_answers ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_systems MODIFY compact_headers ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_systems MODIFY disable_rport ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_systems MODIFY disable_tcp_switch ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
|
||||
ALTER TABLE ps_systems MODIFY follow_early_media_fork ENUM('0','1','off','on','false','true','no','yes') NULL;
|
||||
@@ -1675,3 +1637,23 @@ ALTER TABLE ps_transports MODIFY verify_server ENUM('0','1','off','on','false','
|
||||
|
||||
UPDATE alembic_version SET version_num='74dc751dfe8e' WHERE alembic_version.version_num = 'bd335bae5d33';
|
||||
|
||||
-- Running upgrade 74dc751dfe8e -> 6c475a93f48a
|
||||
|
||||
ALTER TABLE ps_aors MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_auths MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_domain_aliases MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_endpoint_id_ips MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_inbound_publications MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_outbound_publishes MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
ALTER TABLE ps_registrations MODIFY id VARCHAR(255) NOT NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='6c475a93f48a' WHERE alembic_version.version_num = '74dc751dfe8e';
|
||||
|
||||
|
@@ -78,7 +78,7 @@ CREATE TABLE sippeers (
|
||||
regexten VARCHAR(40),
|
||||
fromdomain VARCHAR(40),
|
||||
fromuser VARCHAR(40),
|
||||
qualify VARCHAR(40),
|
||||
"qualify" VARCHAR(40),
|
||||
defaultip VARCHAR(45),
|
||||
rtptimeout INTEGER,
|
||||
rtpholdtimeout INTEGER,
|
||||
@@ -172,7 +172,7 @@ CREATE TABLE iaxfriends (
|
||||
disallow VARCHAR(200),
|
||||
allow VARCHAR(200),
|
||||
codecpriority VARCHAR(40),
|
||||
qualify VARCHAR(10),
|
||||
"qualify" VARCHAR(10),
|
||||
qualifysmoothing yes_no_values,
|
||||
qualifyfreqok VARCHAR(10),
|
||||
qualifyfreqnotok VARCHAR(10),
|
||||
@@ -1621,8 +1621,6 @@ ALTER TABLE ps_aors ALTER COLUMN authenticate_qualify TYPE ast_bool_values USING
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN remove_existing TYPE ast_bool_values USING "remove_existing"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN remove_unavailable TYPE ast_bool_values USING "remove_unavailable"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN support_path TYPE ast_bool_values USING "support_path"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_asterisk_publications ALTER COLUMN device_state TYPE ast_bool_values USING "device_state"::text::ast_bool_values;
|
||||
@@ -1635,8 +1633,6 @@ ALTER TABLE ps_contacts ALTER COLUMN prune_on_boot TYPE ast_bool_values USING "p
|
||||
|
||||
ALTER TABLE ps_endpoint_id_ips ALTER COLUMN srv_lookups TYPE ast_bool_values USING "srv_lookups"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN "100rel" TYPE ast_bool_values USING "100rel"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN accept_multiple_sdp_answers TYPE ast_bool_values USING "accept_multiple_sdp_answers"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN aggregate_mwi TYPE ast_bool_values USING "aggregate_mwi"::text::ast_bool_values;
|
||||
@@ -1647,8 +1643,6 @@ ALTER TABLE ps_endpoints ALTER COLUMN allow_subscribe TYPE ast_bool_values USING
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN allow_transfer TYPE ast_bool_values USING "allow_transfer"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN allow_unauthenticated_options TYPE ast_bool_values USING "allow_unauthenticated_options"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN asymmetric_rtp_codec TYPE ast_bool_values USING "asymmetric_rtp_codec"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN bind_rtp_to_media_address TYPE ast_bool_values USING "bind_rtp_to_media_address"::text::ast_bool_values;
|
||||
@@ -1673,8 +1667,6 @@ ALTER TABLE ps_endpoints ALTER COLUMN g726_non_standard TYPE ast_bool_values USI
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN ice_support TYPE ast_bool_values USING "ice_support"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN ignore_183_without_sdp TYPE ast_bool_values USING "ignore_183_without_sdp"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN inband_progress TYPE ast_bool_values USING "inband_progress"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN media_encryption_optimistic TYPE ast_bool_values USING "media_encryption_optimistic"::text::ast_bool_values;
|
||||
@@ -1683,8 +1675,6 @@ ALTER TABLE ps_endpoints ALTER COLUMN media_use_received_transport TYPE ast_bool
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN moh_passthrough TYPE ast_bool_values USING "moh_passthrough"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN mwi_subscribe_replaces_unsolicited TYPE ast_bool_values USING "mwi_subscribe_replaces_unsolicited"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN notify_early_inuse_ringing TYPE ast_bool_values USING "notify_early_inuse_ringing"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN one_touch_recording TYPE ast_bool_values USING "one_touch_recording"::text::ast_bool_values;
|
||||
@@ -1703,36 +1693,22 @@ ALTER TABLE ps_endpoints ALTER COLUMN rtp_ipv6 TYPE ast_bool_values USING "rtp_i
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN rtp_symmetric TYPE ast_bool_values USING "rtp_symmetric"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_aoc TYPE ast_bool_values USING "send_aoc"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_connected_line TYPE ast_bool_values USING "send_connected_line"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_diversion TYPE ast_bool_values USING "send_diversion"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_history_info TYPE ast_bool_values USING "send_history_info"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_pai TYPE ast_bool_values USING "send_pai"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN send_rpid TYPE ast_bool_values USING "send_rpid"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN srtp_tag_32 TYPE ast_bool_values USING "srtp_tag_32"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN stir_shaken TYPE ast_bool_values USING "stir_shaken"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN suppress_q850_reason_headers TYPE ast_bool_values USING "suppress_q850_reason_headers"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN t38_bind_udptl_to_media_address TYPE ast_bool_values USING "t38_bind_udptl_to_media_address"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN t38_udptl TYPE ast_bool_values USING "t38_udptl"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN t38_udptl_ipv6 TYPE ast_bool_values USING "t38_udptl_ipv6"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN t38_udptl_nat TYPE ast_bool_values USING "t38_udptl_nat"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN timers TYPE ast_bool_values USING "timers"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN trust_connected_line TYPE ast_bool_values USING "trust_connected_line"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN trust_id_inbound TYPE ast_bool_values USING "trust_id_inbound"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN trust_id_outbound TYPE ast_bool_values USING "trust_id_outbound"::text::ast_bool_values;
|
||||
@@ -1745,22 +1721,12 @@ ALTER TABLE ps_endpoints ALTER COLUMN user_eq_phone TYPE ast_bool_values USING "
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN webrtc TYPE ast_bool_values USING "webrtc"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN all_codecs_on_empty_reinvite TYPE ast_bool_values USING "all_codecs_on_empty_reinvite"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN allow_sending_180_after_183 TYPE ast_bool_values USING "allow_sending_180_after_183"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN disable_multi_domain TYPE ast_bool_values USING "disable_multi_domain"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN ignore_uri_user_options TYPE ast_bool_values USING "ignore_uri_user_options"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN mwi_disable_initial_unsolicited TYPE ast_bool_values USING "mwi_disable_initial_unsolicited"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN norefersub TYPE ast_bool_values USING "norefersub"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN send_contact_status_on_update_registration TYPE ast_bool_values USING "send_contact_status_on_update_registration"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_globals ALTER COLUMN use_callerid_contact TYPE ast_bool_values USING "use_callerid_contact"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_outbound_publishes ALTER COLUMN multi_user TYPE ast_bool_values USING "multi_user"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_registrations ALTER COLUMN auth_rejection_permanent TYPE ast_bool_values USING "auth_rejection_permanent"::text::ast_bool_values;
|
||||
@@ -1771,16 +1737,12 @@ ALTER TABLE ps_registrations ALTER COLUMN support_path TYPE ast_bool_values USIN
|
||||
|
||||
ALTER TABLE ps_resource_list ALTER COLUMN full_state TYPE ast_bool_values USING "full_state"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_resource_list ALTER COLUMN resource_display_name TYPE ast_bool_values USING "resource_display_name"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_subscription_persistence ALTER COLUMN prune_on_boot TYPE ast_bool_values USING "prune_on_boot"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_systems ALTER COLUMN accept_multiple_sdp_answers TYPE ast_bool_values USING "accept_multiple_sdp_answers"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_systems ALTER COLUMN compact_headers TYPE ast_bool_values USING "compact_headers"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_systems ALTER COLUMN disable_rport TYPE ast_bool_values USING "disable_rport"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_systems ALTER COLUMN disable_tcp_switch TYPE ast_bool_values USING "disable_tcp_switch"::text::ast_bool_values;
|
||||
|
||||
ALTER TABLE ps_systems ALTER COLUMN follow_early_media_fork TYPE ast_bool_values USING "follow_early_media_fork"::text::ast_bool_values;
|
||||
@@ -1799,5 +1761,25 @@ ALTER TABLE ps_transports ALTER COLUMN verify_server TYPE ast_bool_values USING
|
||||
|
||||
UPDATE alembic_version SET version_num='74dc751dfe8e' WHERE alembic_version.version_num = 'bd335bae5d33';
|
||||
|
||||
-- Running upgrade 74dc751dfe8e -> 6c475a93f48a
|
||||
|
||||
ALTER TABLE ps_aors ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_auths ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_domain_aliases ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_endpoint_id_ips ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_endpoints ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_inbound_publications ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_outbound_publishes ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
ALTER TABLE ps_registrations ALTER COLUMN id SET NOT NULL;
|
||||
|
||||
UPDATE alembic_version SET version_num='6c475a93f48a' WHERE alembic_version.version_num = '74dc751dfe8e';
|
||||
|
||||
COMMIT;
|
||||
|
||||
|
Reference in New Issue
Block a user