mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
FreePBX 16 now officially works with Asterisk 19 (so remove temp patch)
This commit is contained in:
parent
7386419cf4
commit
abfc5e4c75
1 changed files with 16 additions and 11 deletions
|
@ -96,17 +96,22 @@
|
|||
extra_opts: [--strip-components=1]
|
||||
creates: "{{ freepbx_src_dir }}/install"
|
||||
|
||||
- name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/install.php"
|
||||
replace:
|
||||
path: /opt/iiab/freepbx/install.php
|
||||
regexp: 'version_compare\(\$astversion, "19", "ge"\)\) \{$'
|
||||
replace: 'version_compare($astversion, "20", "ge")) {'
|
||||
|
||||
- name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/installlib/installcommand.class.php"
|
||||
replace:
|
||||
path: /opt/iiab/freepbx/installlib/installcommand.class.php
|
||||
regexp: 'version_compare\(\$matches\[1\], "19", "ge"\)\) \{$'
|
||||
replace: 'version_compare($matches[1], "20", "ge")) {'
|
||||
# No longer needed since approx 2022-01-31 / 2022-02-14, as confirmed by:
|
||||
# https://github.com/FreePBX/framework/blob/release/16.0/install.php#L27
|
||||
# https://github.com/FreePBX/framework/blob/release/16.0/installlib/installcommand.class.php#L300
|
||||
# https://community.freepbx.org/t/asterisk-19-working-with-freepbx16/80965/14
|
||||
#
|
||||
# - name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/install.php"
|
||||
# replace:
|
||||
# path: /opt/iiab/freepbx/install.php
|
||||
# regexp: 'version_compare\(\$astversion, "19", "ge"\)\) \{$'
|
||||
# replace: 'version_compare($astversion, "20", "ge")) {'
|
||||
#
|
||||
# - name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/installlib/installcommand.class.php"
|
||||
# replace:
|
||||
# path: /opt/iiab/freepbx/installlib/installcommand.class.php
|
||||
# regexp: 'version_compare\(\$matches\[1\], "19", "ge"\)\) \{$'
|
||||
# replace: 'version_compare($matches[1], "20", "ge")) {'
|
||||
|
||||
# 2021-08-04: FreePBX 16 no longer needs this FreePBX 15 patch
|
||||
# - name: FreePBX - Patch FreePBX source - IIAB Bug 1685
|
||||
|
|
Loading…
Add table
Reference in a new issue