pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/comms/asterisk21



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Mon May 20 03:02:02 UTC 2024

Modified Files:
        pkgsrc/comms/asterisk21: Makefile PLIST distinfo

Log Message:
Update to Asterisk 21.3.1:  various bug fixes and minor improvements

## Change Log for Release asterisk-21.3.1

### Links:

 - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-21.3.1.md)
 - [GitHub Diff](https://github.com/asterisk/asterisk/compare/21.3.0...21.3.1)

### Summary:

- Commits: 1
- Commit Authors: 1
- Issues Resolved: 0
- Security Advisories Resolved: 1
  - [GHSA-qqxj-v78h-hrf9](https://github.com/asterisk/asterisk/security/advisories/GHSA-qqxj-v78h-hrf9): res_pjsip_endpoint_identifier_ip: wrongly matches ALL unauthorized SIP requests

### Commits By Author:

- ### George Joseph (1):
  - Revert "res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport ad..

## Change Log for Release asterisk-21.3.0

### Links:

 - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-21.3.0.md)
 - [GitHub Diff](https://github.com/asterisk/asterisk/compare/21.2.0...21.3.0)

### Summary:

- Commits: 43
- Commit Authors: 15
- Issues Resolved: 26
- Security Advisories Resolved: 0

### User Notes:

- #### res_pjsip_logger: Preserve logging state on reloads.
  Issuing "pjsip reload" will no longer disable
  logging if it was previously enabled from the CLI.

- #### loader.c: Allow dependent modules to be unloaded recursively.
  In certain circumstances, modules with dependency relations
  can have their dependents automatically recursively unloaded and loaded
  again using the "module refresh" CLI command or the ModuleLoad AMI command.

- #### tcptls/iostream:  Add support for setting SNI on client TLS connections
  Secure websocket client connections now send SNI in
  the TLS client hello.

- #### res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
  set identify_by=transport for the pjsip endpoint. Then
  use the existing 'match' option and the new 'transport' option of
  the identify.
  Fixes: #672

- #### res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
  this new feature let users match endpoints based on the
  indound SIP requests' URI. To do so, add 'request_uri' to the
  endpoint's 'identify_by' option. The 'match_request_uri' option of
  the identify can be an exact match for the entire request uri, or a
  regular expression (between slashes). It's quite similar to the
  header identifer.
  Fixes: #599

- #### res_pjsip_refer.c: Allow GET_TRANSFERRER_DATA
  the GET_TRANSFERRER_DATA dialplan variable can now be used also in pjsip.

- #### manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
  When using the Originate AMI Action, we now can pass the PreDialGoSub
  parameter, instructing the asterisk to perform an subrouting at
  channel before call start. With this parameter an call initiated
  by AMI can request the channel to start the call automaticaly,
  adding a SIP header to using GoSUB, instructing to autoanswer
  the channel, and proceeding the outbuound extension executing.
  Exemple of an context to perform the previus indication:
  [addautoanswer]
  exten => _s,1,Set(PJSIP_HEADER(add,Call-Info)=answer-after=0)
  exten => _s,n,Set(PJSIP_HEADER(add,Alert-Info)=answer-after=0)
  exten => _s,n,Return()

- #### manager.c: Add CLI command to kick AMI sessions.
  The "manager kick session" CLI command now
  allows kicking a specified AMI session.

- #### chan_dahdi: Allow specifying waitfordialtone per call.
  "waitfordialtone" may now be specified for DAHDI
  trunk channels on a per-call basis using the CHANNEL function.

- #### Upgrade bundled pjproject to 2.14.1
  Bundled pjproject has been upgraded to 2.14.1. For more
  information visit pjproject Github page: https://github.com/pjsip/pjproject/releases/tag/2.14.1

### 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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/comms/asterisk21/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/comms/asterisk21/PLIST \
    pkgsrc/comms/asterisk21/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/asterisk21/Makefile
diff -u pkgsrc/comms/asterisk21/Makefile:1.2 pkgsrc/comms/asterisk21/Makefile:1.3
--- pkgsrc/comms/asterisk21/Makefile:1.2        Thu May 16 06:14:38 2024
+++ pkgsrc/comms/asterisk21/Makefile    Mon May 20 03:02:02 2024
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2024/05/16 06:14:38 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2024/05/20 03:02:02 jnemeth Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
 #       to find out the current sound file versions
 #       Also look in ${WRKSRC}/third-party/versions.mak for pjproject
 
-DISTNAME=      asterisk-21.2.0
+DISTNAME=      asterisk-21.3.1
 #PKGREVISION=  24
 PKGREVISION=   1
 CATEGORIES=    comms net audio
@@ -141,7 +141,7 @@ CONFIGURE_ARGS+=    --without-timerfd
 DISTFILES+=    asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
 
 # pjproject
-PJPROJ_VERSION=        2.14
+PJPROJ_VERSION=        2.14.1
 SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \
        -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2
 SITES.pjproject-${PJPROJ_VERSION}.md5= \
@@ -259,6 +259,8 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-21.0.2.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-21.1.0.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-21.2.0.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-21.3.0.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-21.3.1.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/historical/CHANGES ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/README-SERIOUSLY.bestpractices.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}

Index: pkgsrc/comms/asterisk21/PLIST
diff -u pkgsrc/comms/asterisk21/PLIST:1.1 pkgsrc/comms/asterisk21/PLIST:1.2
--- pkgsrc/comms/asterisk21/PLIST:1.1   Mon Apr  8 03:20:06 2024
+++ pkgsrc/comms/asterisk21/PLIST       Mon May 20 03:02:02 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2024/04/08 03:20:06 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/05/20 03:02:02 jnemeth Exp $
 lib/asterisk/libasteriskpj.so
 lib/asterisk/libasteriskpj.so.2
 lib/asterisk/modules/app_adsiprog.so
@@ -2318,7 +2318,9 @@ share/doc/asterisk/ChangeLog-21.0.0.md
 share/doc/asterisk/ChangeLog-21.0.1.md
 share/doc/asterisk/ChangeLog-21.0.2.md
 share/doc/asterisk/ChangeLog-21.1.0.md
-share/doc/asterisk/ChangeLog-${PKGVERSION}.md
+share/doc/asterisk/ChangeLog-21.2.0.md
+share/doc/asterisk/ChangeLog-21.3.0.md
+share/doc/asterisk/ChangeLog-21.3.1.md
 share/doc/asterisk/IAX2-security.pdf
 share/doc/asterisk/IAX2-security.txt
 share/doc/asterisk/LICENSE
Index: pkgsrc/comms/asterisk21/distinfo
diff -u pkgsrc/comms/asterisk21/distinfo:1.1 pkgsrc/comms/asterisk21/distinfo:1.2
--- pkgsrc/comms/asterisk21/distinfo:1.1        Mon Apr  8 03:20:06 2024
+++ pkgsrc/comms/asterisk21/distinfo    Mon May 20 03:02:02 2024
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.1 2024/04/08 03:20:06 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2024/05/20 03:02:02 jnemeth Exp $
 
-BLAKE2s (asterisk-21.2.0/asterisk-21.2.0.tar.gz) = f96a9cdf12c25b04b55ffa1250be62358b57e1b12e96dc3c37738b2adf23590b
-SHA512 (asterisk-21.2.0/asterisk-21.2.0.tar.gz) = f6ede5da3a9f3fefa30aac2a55e3a06c9fb185f1a484cfc9b7e014ebcdf222e60cdb024b6b3f7daa1ce7a3f61c2a24c0135849ea669f086c6e86da08928536de
-Size (asterisk-21.2.0/asterisk-21.2.0.tar.gz) = 26312154 bytes
-BLAKE2s (asterisk-21.2.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
-SHA512 (asterisk-21.2.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
-Size (asterisk-21.2.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
-BLAKE2s (asterisk-21.2.0/pjproject-2.14.md5) = 8cbd12b39e930e684607202c7cff8036d1fa10c0070f8d5b50c1850095b8b28d
-SHA512 (asterisk-21.2.0/pjproject-2.14.md5) = ea4c33f75a0cc4afcd7a1f7fd2a53423a182ef16a7abfe2189bce0ef0e6b956c6eb4f89aeabee714dfed0616bfd8f4aa98602b1faeda1671e00ff21a150283d2
-Size (asterisk-21.2.0/pjproject-2.14.md5) = 166 bytes
-BLAKE2s (asterisk-21.2.0/pjproject-2.14.tar.bz2) = 1e76da2fa893451c66f41e5c3dd2a7594494c0852947ef2146d6b642550604d0
-SHA512 (asterisk-21.2.0/pjproject-2.14.tar.bz2) = 5b60a1033c9f09c0fbb5b132229fa99fdc103f8864a7cdeadf217ec47ff6bc784827826f595c4bc76816bc0fbf5cc6e9751cc4f6307eeecb7c7d8f5d0413d4ac
-Size (asterisk-21.2.0/pjproject-2.14.tar.bz2) = 8376462 bytes
+BLAKE2s (asterisk-21.3.1/asterisk-21.3.1.tar.gz) = d60ea3753383565844df1c8791cea929a57f2c4eb3f41cd65fa2370aed718503
+SHA512 (asterisk-21.3.1/asterisk-21.3.1.tar.gz) = af3332e45cd58b4b087153ea8d20be21e2cdd9216dcd8cfbaca13755b76fc4db4cc635fda026c25afe8426e18aef3cf5885b8c7c9045f6199abee75e2e1dd212
+Size (asterisk-21.3.1/asterisk-21.3.1.tar.gz) = 26335219 bytes
+BLAKE2s (asterisk-21.3.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
+SHA512 (asterisk-21.3.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
+Size (asterisk-21.3.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
+BLAKE2s (asterisk-21.3.1/pjproject-2.14.1.md5) = f384e59ad4f8227cd7131a5c07b68a83b75b319fa60c38d6f9d27af817a0f516
+SHA512 (asterisk-21.3.1/pjproject-2.14.1.md5) = 25ce388adcd7eaa2c21d95a58d9fc5e33a6cb96dd99c292574b8f11f6f1f985cf91f91ea252300bd1be192e396ac6c8a35a87b219864339798bf6195a7650c00
+Size (asterisk-21.3.1/pjproject-2.14.1.md5) = 172 bytes
+BLAKE2s (asterisk-21.3.1/pjproject-2.14.1.tar.bz2) = 4b22d553ddafc2d53d866b4936d465c161e2a095a6a75bd4b93be26e4803122c
+SHA512 (asterisk-21.3.1/pjproject-2.14.1.tar.bz2) = 996116df4a18fb28c8f68d122466f8664958226a38e432b6190b92fbf277b278d370a4b44fabeaf25691e3cdcde28a8879b2738ead5387d119229db01ce121d8
+Size (asterisk-21.3.1/pjproject-2.14.1.tar.bz2) = 8379251 bytes
 SHA1 (patch-Makefile) = 5cf3b6937ec23a82e4d056b91e493a36bc1089b9
 SHA1 (patch-addons_chan__ooh323.c) = 1775da7ca2129a962ed460bd1e78ba3ce6afa62c
 SHA1 (patch-apps_app__adsiprog.c) = 031139e5cd1ef6bb2afb0a74fee3d752eded0a2c



Home | Main Index | Thread Index | Old Index