Bug 285736 - net/asterisk22: Update 22.2.0 → 22.3.0
Summary: net/asterisk22: Update 22.2.0 → 22.3.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-29 05:28 UTC by Oleksandr Kryvulia
Modified: 2025-05-09 12:54 UTC (History)
2 users (show)

See Also:


Attachments
Patch to update net/asterisk22 (1.71 KB, patch)
2025-03-29 05:28 UTC, Oleksandr Kryvulia
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Kryvulia 2025-03-29 05:28:33 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-03-29 10:35:28 UTC
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(-)
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2025-03-29 10:38:05 UTC
Thanks.
Comment 3 Kevin Bowling freebsd_committer freebsd_triage 2025-05-05 09:09:34 UTC
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"
Comment 4 Oleksandr Kryvulia 2025-05-05 11:13:01 UTC
(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.
Comment 5 Kevin Bowling freebsd_committer freebsd_triage 2025-05-06 00:37:57 UTC
(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.
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-05-09 12:48:11 UTC
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(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-05-09 12:52:13 UTC
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(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-09 12:54:29 UTC
(In reply to Kevin Bowling from comment #5)
Test please last commit.