Skip to content

Conversation

@systemcrash
Copy link
Contributor

This patch-set fixes asterisk compile and brings it up to current. See individual commit messages for details.

@jslachta

This will likely fix other asterisk components which depend on asterisk and fail to build.

@systemcrash systemcrash force-pushed the asterisk branch 3 times, most recently from 86dd6e7 to ac9d16d Compare December 3, 2025 18:21
@systemcrash
Copy link
Contributor Author

Asterisk and all modules compile and load cleanly (and only errors/warnings resulting from lack of config are emitted).

@jslachta
Copy link
Contributor

jslachta commented Dec 3, 2025

Paul (@systemcrash ), thank you so much!

@systemcrash systemcrash force-pushed the asterisk branch 3 times, most recently from 9f12c28 to e82523a Compare December 3, 2025 19:19
@jslachta jslachta changed the title Asterisk asterisk: bring up to current - bump from 20.14.1 to 22.2.7->23.1.0 Dec 3, 2025
@systemcrash
Copy link
Contributor Author

systemcrash commented Dec 3, 2025

Note to self: asterisk 23 / master named the sample config phoneprov_users.conf instead of .sample so it doesn't install during make. The user can manually provide it if necessary until it's fixed in master and the next version bump here.

See asterisk/asterisk#1627

@systemcrash
Copy link
Contributor Author

OK. Green across the board. I'll add a patch for that config file...

@dhewg
Copy link
Contributor

dhewg commented Dec 3, 2025

There's a --with-asound configure line in the Makefile, which can be dropped now since chan-alsa is no more.

Usually we bumped pjproject to the exact version which is bundled with the asterisk version used here.
Feel free to use this patch:
0001-pjproject-bump-to-2.15.1.patch

remove deprecated modules from 20-21
21-22 is mostly bugfixes

See https://docs.asterisk.org/Asterisk_21_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_22_Documentation/Upgrading/
and https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/#removed-modules

- remove deprecated users.conf (otherwise asterisk logs:
  WARNING[24699] pbx_config.c: users.conf is deprecated and will be removed in
  a future version of Asterisk )
- add cdr.conf (otherwise asterisk logs:
  ERROR[24658] config_options.c: Unable to load config file 'cdr.conf' )
- add missing res-websocket-client (necessary for app_stasis, res_ari)
- app_macro -> app_stack

refresh patches

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
remove deprecated modules from 22-23

See https://docs.asterisk.org/Asterisk_23_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_23_Documentation/WhatsNew/

starting in v23, astdb2sqlite3 is removed. Users still running on v10 Berkley DB
must have upgraded DB prior to v23. Similarly, all Berkley DB functionality is
removed.

patch 150 refreshed to remove Berkley DB stuff.
other patches refreshed.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
The patch 001-phoneprov_users.patch can be dropped when upstream renames the
config. The config file seems necessary for res_phoneprov to start up, so this
helps the user get started.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This matches the version and patches bundled with asterisk 23.1.0.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
@systemcrash
Copy link
Contributor Author

Good catch! I've added a commit with your patch applied and SoB.

@jslachta
Copy link
Contributor

jslachta commented Dec 4, 2025

🙏Thank you, Paul (@systemcrash) and Andre (@dhewg), for bringing up asterisk to the latest. With my desperately limited time, I’m very grateful for your contributions.

@jslachta jslachta merged commit e8e8979 into openwrt:master Dec 4, 2025
11 checks passed
@Ansuel
Copy link
Member

Ansuel commented Dec 5, 2025

@systemcrash can you fix the module for one of the asterisk ?

@systemcrash
Copy link
Contributor Author

@Ansuel did not understand.

@systemcrash systemcrash deleted the asterisk branch December 7, 2025 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants