Created attachment 259135 [details] Patch to update net/asterisk22 New Asterisk release 22.3.0 is available ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.3.0.html
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5d8e17b67d941100eba3f85c15e62f0878f2d09 commit c5d8e17b67d941100eba3f85c15e62f0878f2d09 Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> AuthorDate: 2025-03-29 10:23:46 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-03-29 10:28:26 +0000 net/asterisk22: Update 22.2.0 → 22.3.0 ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.3.0.html PR: 285736 Sponsored by: FLEX-IT LLC net/asterisk22/Makefile | 2 +- net/asterisk22/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Thanks.
Something happened in this release where pjsip is no longer working for me. Reverting to the previous version with 'pkg install -f /var/cache/pkg/asterisk22-22.2.0.pkg' clears the issue. Picking out a few of the symbol issues: [May 5 02:03:04] ERROR[102038] loader.c: Error loading module 'res_pjsip_refer.so': /usr/local/lib/asterisk/modules/res_pjsip_refer.so: Undefined symbol "pjsip_invite_method" [May 5 02:03:04] ERROR[102038] loader.c: Error loading module 'res_pjproject.so': /usr/local/lib/asterisk/modules/res_pjproject.so: Undefined symbol "PJ_AF_INET" [May 5 02:03:04] ERROR[102038] loader.c: Error loading module 'res_pjsip_nat.so': /usr/local/lib/asterisk/modules/res_pjsip_nat.so: Undefined symbol "pjsip_register_method" [May 5 02:03:04] ERROR[102038] loader.c: Error loading module 'chan_pjsip.so': /usr/local/lib/asterisk/modules/chan_pjsip.so: Undefined symbol "ast_sip_cli_traverse_objects"
(In reply to Kevin Bowling from comment #3) Thank you for the report. Please specify FreeBSD release which you are running and how you upgraded net/asterisk22 - ports or packages. We have some customer's sites with asterisk 22.3.0 running without any issue. But it is installed from our self-built repo. P.S. I think we need a separate report for this bug.
(In reply to Oleksandr Kryvulia from comment #4) System is FreeBSD -CURRENT using package from https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/asterisk22-22.3.0.pkg I'm not sure if there is any relevant conf to share, it seems fundamentally broken loading the pjsip modules.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c320ebd915d1bb1f4366031cbe4ef15c8fd92f29 commit c320ebd915d1bb1f4366031cbe4ef15c8fd92f29 Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> AuthorDate: 2025-05-09 12:46:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-05-09 12:46:51 +0000 net/asterisk22: Update 22.3.0 → 22.4.0 ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.4.0.html Fix loading pjsip modules on CURRENT PR: 285736 Sponsored by: FLEX-IT LLC MFH: 2025Q2 net/asterisk22/Makefile | 6 +++++- net/asterisk22/distinfo | 6 +++--- .../files/extra-patch-third-party_pjproject_Makefile (new) | 11 +++++++++++ net/asterisk22/files/patch-third-party_pjproject_Makefile | 9 --------- 4 files changed, 19 insertions(+), 13 deletions(-)
A commit in branch 2025Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b91ba3195882cac294e9b2c430831492a810a269 commit b91ba3195882cac294e9b2c430831492a810a269 Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> AuthorDate: 2025-05-09 12:46:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-05-09 12:50:52 +0000 net/asterisk22: Update 22.3.0 → 22.4.0 ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.4.0.html Fix loading pjsip modules on CURRENT PR: 286693 285736 Sponsored by: FLEX-IT LLC MFH: 2025Q2 (cherry picked from commit c320ebd915d1bb1f4366031cbe4ef15c8fd92f29) net/asterisk22/Makefile | 6 +++++- net/asterisk22/distinfo | 6 +++--- .../files/extra-patch-third-party_pjproject_Makefile (new) | 11 +++++++++++ net/asterisk22/files/patch-third-party_pjproject_Makefile | 9 --------- 4 files changed, 19 insertions(+), 13 deletions(-)
(In reply to Kevin Bowling from comment #5) Test please last commit.