Wed Oct 26 05:53:37 2016 UTC ()
Update to Asterisk 11.24.0: this is a bug fix release.

The Asterisk Development Team has announced the release of Asterisk 11.24.0.

The release of Asterisk 11.24.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!

The following are the issues resolved in this release:

Bugs fixed in this release:
-----------------------------------
 * ASTERISK-26438 - [patch] chan_sip: auto_force_rport: No NAT = No
      Symmetric Response. (Reported by Alexander Traud)
 * ASTERISK-18232 - Broken REGISTER sent to IPv4 server when
      bindaddr=[::] (Reported by Jacek)
 * ASTERISK-26359 - [patch] cdr_mysql: fails to use UTC if so
      instructed (Reported by Tzafrir Cohen)
 * ASTERISK-19968 - TCP Session-Timers not dropping call (Reported
      by Aaron Hamstra)
 * ASTERISK-26360 - app_queue: "queue show" output gets "failed to
      extend from 240 to 327" msgs. (Reported by Richard Mudgett)
 * ASTERISK-26272 - chan_sip: File descriptors leak (UDP sockets)
      (Reported by Etienne Lessard)
 * ASTERISK-26288 - followme: fails to reset config items to
      default values on reload (Reported by Tzafrir Cohen)
 * ASTERISK-26282 - AEL: macro-call in Dial application, macro
      "lacks 's' extension" (Reported by chris de rock)
 * ASTERISK-26226 - pbx: Asterisk crash on AMI action
      "ShowDialplan" when there's a circular dependency between
      contexts (Reported by Etienne Lessard)
 * ASTERISK-26299 - app_queue: Queue application sometimes stops
      calling members with Local interface (Reported by Etienne
      Lessard)
 * ASTERISK-26306 - channel: Hang-up crashes, chan_pjsip not
      cleaning up properly (Reported by Alexander Traud)
 * ASTERISK-26203 - res_fax: Deadlock when using
      FAXOPT(gateway)=yes with Local channels (Reported by Etienne
      Lessard)
 * ASTERISK-24822 - Deadlock: Fax Gateway framehook creates locking
      inversion in T.38 query option with features bridging code
      (Reported by David Brillert)
 * ASTERISK-22732 - Deadlock potential in res_fax and CCSS with
      local channels. (Reported by Richard Mudgett)
 * ASTERISK-24841 - ConfBridge: Strange sampling rates chosen when
      channels have multiple native formats (Reported by Matt Jordan)
 * ASTERISK-24425 - [patch] jabber/xmpp to use TLS instead of
      SSLv3, security fix POODLE (CVE-2014-3566) (Reported by
      abelbeck)
 * ASTERISK-25706 - pbx: Abort asterisk on features reload
      (handle_hint_change) (Reported by Krzysztof Trempala)
 * ASTERISK-26233 - pbx: Failure to remove inconsistent extension
      names (Reported by Corey Farrell)
 * ASTERISK-26267 - ast_register_atexit callbacks should be run on
      failed startup. (Reported by Corey Farrell)
 * ASTERISK-26265 - Errors ignored from some parts of system
      initialization. (Reported by Corey Farrell)
 * ASTERISK-25996 - Remove "live_dangerously" requirement on
      DB(read) (Reported by Andrew Nagy)
 * ASTERISK-26237 - Fax is detected on regular calls. (Reported by
      Richard Mudgett)
 * ASTERISK-23013 - [patch] Deadlock between 'sip show channels'
      command and attended transfer handling (Reported by Ben
      Smithurst)
 * ASTERISK-26211 - Unit tests: AST_TEST_DEFINE should be used in
      conditional code. (Reported by Corey Farrell)
 * ASTERISK-26207 - [patch] sRTP: Count a roll-over of the sequence
      number even on lost packets. (Reported by Alexander Traud)
 * ASTERISK-26038 - 'make install' doesn't seem to install OS/X
      init files (Reported by Tzafrir Cohen)
 * ASTERISK-26133 - app_queue: Queue members receive multiple calls
      (Reported by Richard Miller)
 * ASTERISK-26196 - pbx: Time based includes can leak timezone
      string (Reported by Corey Farrell)
 * ASTERISK-25659 - res_rtp_asterisk: ECDH not negotiated causing
      DTLS failure occurred on RTP instance (Reported by Edwin
      Vandamme)
 * ASTERISK-26046 - [patch] Avoid obsolete warnings on autoconf.
      (Reported by Alexander Traud)
 * ASTERISK-25289 - Build System does not respect CFLAGS and
      CXXFLAGS when building menuselect (Reported by Jeffrey Walton)
 * ASTERISK-26119 - [patch] fix: memory leaks, resource leaks, out
      of bounds and bugs (Reported by Alexei Gradinari)
 * ASTERISK-26179 - chan_sip: Second T.38 request fails (Reported
      by Joshua Colp)
 * ASTERISK-26157 - Build:   Fix errors highlighted by GCC 6.x
      (Reported by George Joseph)

Improvements made in this release:
-----------------------------------
 * ASTERISK-26220 - Add support for noreturn function attributes.
      (Reported by Corey Farrell)

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.24.0

Thank you for your continued support of Asterisk!


(jnemeth)
diff -r1.143 -r1.144 pkgsrc/comms/asterisk/Makefile
diff -r1.80 -r1.81 pkgsrc/comms/asterisk/distinfo
diff -r0 -r1.1 pkgsrc/comms/asterisk/patches/patch-res_res__fax.c

cvs diff -r1.143 -r1.144 pkgsrc/comms/asterisk/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/asterisk/Attic/Makefile 2016/10/09 21:41:55 1.143
+++ pkgsrc/comms/asterisk/Attic/Makefile 2016/10/26 05:53:37 1.144
@@ -1,21 +1,20 @@ @@ -1,21 +1,20 @@
1# $NetBSD: Makefile,v 1.143 2016/10/09 21:41:55 wiz Exp $ 1# $NetBSD: Makefile,v 1.144 2016/10/26 05:53:37 jnemeth Exp $
2# 2#
3# NOTE: when updating this package, there are two places that sound 3# NOTE: when updating this package, there are two places that sound
4# tarballs need to be checked; look win ${WRKSRC}/sounds/Makefile 4# tarballs need to be checked; look win ${WRKSRC}/sounds/Makefile
5# to find out the current sound file versions 5# to find out the current sound file versions
6 6
7DISTNAME= asterisk-11.23.1 7DISTNAME= asterisk-11.24.0
8PKGREVISION= 2 
9CATEGORIES= comms net audio 8CATEGORIES= comms net audio
10MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ 9MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
11 http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ 10 http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \
12 http://downloads.asterisk.org/pub/telephony/sounds/releases/ 11 http://downloads.asterisk.org/pub/telephony/sounds/releases/
13DIST_SUBDIR= ${PKGNAME_NOREV} 12DIST_SUBDIR= ${PKGNAME_NOREV}
14DISTFILES= ${DEFAULT_DISTFILES} 13DISTFILES= ${DEFAULT_DISTFILES}
15 14
16COMMENT= The Asterisk Software PBX 15COMMENT= The Asterisk Software PBX
17OWNER= jnemeth@NetBSD.org 16OWNER= jnemeth@NetBSD.org
18HOMEPAGE= http://www.asterisk.org/ 17HOMEPAGE= http://www.asterisk.org/
19LICENSE= gnu-gpl-v2 18LICENSE= gnu-gpl-v2
20 19
21EXTRACT_ONLY= ${DISTNAME}.tar.gz 20EXTRACT_ONLY= ${DISTNAME}.tar.gz

cvs diff -r1.80 -r1.81 pkgsrc/comms/asterisk/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/comms/asterisk/Attic/distinfo 2016/09/23 19:16:29 1.80
+++ pkgsrc/comms/asterisk/Attic/distinfo 2016/10/26 05:53:37 1.81
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1$NetBSD: distinfo,v 1.80 2016/09/23 19:16:29 jnemeth Exp $ 1$NetBSD: distinfo,v 1.81 2016/10/26 05:53:37 jnemeth Exp $
2 2
3SHA1 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = cae7aa5a7e1515928a255f5bd3715f67c13285d3 3SHA1 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 30baba5d03a3a31c1861771b1ccb1275e7778655
4RMD160 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = e789fc326db6771e3a865516241dbc47ecb73fd7 4RMD160 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 5c478d86fb080c483aabd94f48d9593f9eeef9cc
5SHA512 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = 6d067ea86a7c050b19e29d6ea25aefd23c3f32bb7d334f4e3c74bcaedaf21e4faeeab71b4fd260fc39f3e12f645c3bf89737f4c2d16f988cc66f93d4e47f80a7 5SHA512 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 0ae77070432da3d07c8431b174b32f6c261d8a4397bf72c26e22ed15dbc10a1c5814b1a9856e98997b935cc0c4e70cdb4415ac6472b2e5135fd8817deed8058f
6Size (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = 35098451 bytes 6Size (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 35139944 bytes
7SHA1 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1 7SHA1 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
8RMD160 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3 8RMD160 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
9SHA512 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1 9SHA512 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
10Size (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes 10Size (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
11SHA1 (patch-Makefile) = 5fd774779d3c8d85936beca8a3407dd3011af2dc 11SHA1 (patch-Makefile) = 5fd774779d3c8d85936beca8a3407dd3011af2dc
12SHA1 (patch-addons_chan__ooh323.c) = 57f61a2edf0f9f022e03837230ee572ec9cf47b4 12SHA1 (patch-addons_chan__ooh323.c) = 57f61a2edf0f9f022e03837230ee572ec9cf47b4
13SHA1 (patch-apps_app__confbridge.c) = c815905994355a19c32e8e3e2eb5dc9f1679eb29 13SHA1 (patch-apps_app__confbridge.c) = c815905994355a19c32e8e3e2eb5dc9f1679eb29
14SHA1 (patch-apps_app__dial.c) = 0f78d2571af88384a2d472ece08bf4b06f9ad211 14SHA1 (patch-apps_app__dial.c) = 0f78d2571af88384a2d472ece08bf4b06f9ad211
15SHA1 (patch-apps_app__dumpchan.c) = f5a5cc776c99875d1c58e60953fb3f4cec27a94f 15SHA1 (patch-apps_app__dumpchan.c) = f5a5cc776c99875d1c58e60953fb3f4cec27a94f
16SHA1 (patch-apps_app__followme.c) = 0b362486e1759099b61d42a9880109c5743fa0bc 16SHA1 (patch-apps_app__followme.c) = 0b362486e1759099b61d42a9880109c5743fa0bc
17SHA1 (patch-apps_app__meetme.c) = 3927b77fac1cd69f58df4e2ec783359ed0135dad 17SHA1 (patch-apps_app__meetme.c) = 3927b77fac1cd69f58df4e2ec783359ed0135dad
18SHA1 (patch-apps_app__osplookup.c) = 692776511b6a970d29db5fdef9d68af2a3ef6e35 18SHA1 (patch-apps_app__osplookup.c) = 692776511b6a970d29db5fdef9d68af2a3ef6e35
19SHA1 (patch-apps_app__queue.c) = ffed7ef3133d924ef7d176a4f30f369bdd245a42 19SHA1 (patch-apps_app__queue.c) = ffed7ef3133d924ef7d176a4f30f369bdd245a42
20SHA1 (patch-apps_app__skel.c) = e661a53b61d36343c54be7ad9ea6cde6cb10f180 20SHA1 (patch-apps_app__skel.c) = e661a53b61d36343c54be7ad9ea6cde6cb10f180
21SHA1 (patch-apps_app__sms.c) = d89b27a9df04d4da98d562241c07d25d182baefc 21SHA1 (patch-apps_app__sms.c) = d89b27a9df04d4da98d562241c07d25d182baefc
22SHA1 (patch-apps_app__voicemail.c) = 692551a10f51729dd23aa304117eccfb3978c1c8 22SHA1 (patch-apps_app__voicemail.c) = 692551a10f51729dd23aa304117eccfb3978c1c8
23SHA1 (patch-apps_confbridge_conf__config__parser.c) = 42d5a6e2ce837111d06fa9154c7f66403cb83553 23SHA1 (patch-apps_confbridge_conf__config__parser.c) = 42d5a6e2ce837111d06fa9154c7f66403cb83553
@@ -66,26 +66,27 @@ SHA1 (patch-res_Makefile) = 2b3fa69b155a @@ -66,26 +66,27 @@ SHA1 (patch-res_Makefile) = 2b3fa69b155a
66SHA1 (patch-res_ael_pval.c) = cd8dcb8d82a100c406c397364b0cd5e3655bb06a 66SHA1 (patch-res_ael_pval.c) = cd8dcb8d82a100c406c397364b0cd5e3655bb06a
67SHA1 (patch-res_pjproject_aconfigure) = 0095894c5daac2dec6a9ec745c0ecb8d46c0b73a 67SHA1 (patch-res_pjproject_aconfigure) = 0095894c5daac2dec6a9ec745c0ecb8d46c0b73a
68SHA1 (patch-res_pjproject_aconfigure.ac) = cbabe4a5f1888e180c93404324ddb96728dc20b9 68SHA1 (patch-res_pjproject_aconfigure.ac) = cbabe4a5f1888e180c93404324ddb96728dc20b9
69SHA1 (patch-res_pjproject_build.symbian_makedef.sh) = 37781fe307564ad827e9be67f507f84230ebf299 69SHA1 (patch-res_pjproject_build.symbian_makedef.sh) = 37781fe307564ad827e9be67f507f84230ebf299
70SHA1 (patch-res_pjproject_pjlib_include_pj_config.h) = 699ff47d099530030b94803fe83c16a3a177d6c1 70SHA1 (patch-res_pjproject_pjlib_include_pj_config.h) = 699ff47d099530030b94803fe83c16a3a177d6c1
71SHA1 (patch-res_pjproject_pjlib_include_pj_sock__select.h) = 60d0745710ddb7669f45a2ffcc6329ab3bfd5d28 71SHA1 (patch-res_pjproject_pjlib_include_pj_sock__select.h) = 60d0745710ddb7669f45a2ffcc6329ab3bfd5d28
72SHA1 (patch-res_pjproject_pjlib_src_pj_sock__select.c) = defc9c86574d295175bad2d5826b01291116a2cd 72SHA1 (patch-res_pjproject_pjlib_src_pj_sock__select.c) = defc9c86574d295175bad2d5826b01291116a2cd
73SHA1 (patch-res_pjproject_third__party_portaudio_src_hostapi_alsa_pa__linux__alsa.c) = 75da38cbe5fd8c4bbb0c1e0825a78c89e29be138 73SHA1 (patch-res_pjproject_third__party_portaudio_src_hostapi_alsa_pa__linux__alsa.c) = 75da38cbe5fd8c4bbb0c1e0825a78c89e29be138
74SHA1 (patch-res_pjproject_third__party_portaudio_src_hostapi_oss_pa__unix__oss.c) = 5f3ccac5939b01cf6957b7072bc9ad4679f63e5c 74SHA1 (patch-res_pjproject_third__party_portaudio_src_hostapi_oss_pa__unix__oss.c) = 5f3ccac5939b01cf6957b7072bc9ad4679f63e5c
75SHA1 (patch-res_res__calendar.c) = a4c491d8c77f88d0834d0eb52622f7c6e4f3428b 75SHA1 (patch-res_res__calendar.c) = a4c491d8c77f88d0834d0eb52622f7c6e4f3428b
76SHA1 (patch-res_res__calendar__caldav.c) = 673e8a256fc748338f35c7deddbf283809d19904 76SHA1 (patch-res_res__calendar__caldav.c) = 673e8a256fc748338f35c7deddbf283809d19904
77SHA1 (patch-res_res__calendar__icalendar.c) = 3258522abbdc5c0cfe76868f73f16931118983e5 77SHA1 (patch-res_res__calendar__icalendar.c) = 3258522abbdc5c0cfe76868f73f16931118983e5
78SHA1 (patch-res_res__config__pgsql.c) = 719fa8939ca0e6cae256dd1b19a11405f475a620 78SHA1 (patch-res_res__config__pgsql.c) = 719fa8939ca0e6cae256dd1b19a11405f475a620
 79SHA1 (patch-res_res__fax.c) = 5555bfe6f911f4bdbd5d54dca5260138c296744d
79SHA1 (patch-res_res__timing__kqueue.c) = 36dba3fb1081bccc872145a4d9601e179ac2981a 80SHA1 (patch-res_res__timing__kqueue.c) = 36dba3fb1081bccc872145a4d9601e179ac2981a
80SHA1 (patch-res_res__xmpp.c) = 25ce66a0536a290598b4c11f14c7ab94f6577af5 81SHA1 (patch-res_res__xmpp.c) = 25ce66a0536a290598b4c11f14c7ab94f6577af5
81SHA1 (patch-sounds_Makefile) = 792c2e25e1c8334fe8c9038b8b630376a5894c31 82SHA1 (patch-sounds_Makefile) = 792c2e25e1c8334fe8c9038b8b630376a5894c31
82SHA1 (patch-tests_test__abstract__jb.c) = 42cfa303fc2e399aa9fe3bebf51464d0776e171c 83SHA1 (patch-tests_test__abstract__jb.c) = 42cfa303fc2e399aa9fe3bebf51464d0776e171c
83SHA1 (patch-tests_test__config.c) = fa049dc1fedb8a0c898afa6848406d191acb54d3 84SHA1 (patch-tests_test__config.c) = fa049dc1fedb8a0c898afa6848406d191acb54d3
84SHA1 (patch-tests_test__linkedlists.c) = 73356c76cc48b07737de8a091fa8ad6a49ee9e5c 85SHA1 (patch-tests_test__linkedlists.c) = 73356c76cc48b07737de8a091fa8ad6a49ee9e5c
85SHA1 (patch-tests_test__locale.c) = e8419bed77d4787356adf8bc81893bea2adb48f4 86SHA1 (patch-tests_test__locale.c) = e8419bed77d4787356adf8bc81893bea2adb48f4
86SHA1 (patch-tests_test__voicemail__api.c) = 1c6611816aa354e809e22215a43a2d58f61e10b8 87SHA1 (patch-tests_test__voicemail__api.c) = 1c6611816aa354e809e22215a43a2d58f61e10b8
87SHA1 (patch-utils_Makefile) = e776da1fe1233a1f6933256f530f3bfff026de25 88SHA1 (patch-utils_Makefile) = e776da1fe1233a1f6933256f530f3bfff026de25
88SHA1 (patch-utils_db1-ast_include_db.h) = 94ec413fe6a6154d65c43bdde2b26644d8bb5dac 89SHA1 (patch-utils_db1-ast_include_db.h) = 94ec413fe6a6154d65c43bdde2b26644d8bb5dac
89SHA1 (patch-utils_extconf.c) = 994fbb3d05b54f57e1d7981ce69b7e3555ddd7d8 90SHA1 (patch-utils_extconf.c) = 994fbb3d05b54f57e1d7981ce69b7e3555ddd7d8
90SHA1 (patch-utils_smsq.c) = 938f8373856196e98273cbbd6bc4e6eb39055fbb 91SHA1 (patch-utils_smsq.c) = 938f8373856196e98273cbbd6bc4e6eb39055fbb
91SHA1 (patch-utils_streamplayer.c) = 965241ce5dd69137884a38b152783b0069551725 92SHA1 (patch-utils_streamplayer.c) = 965241ce5dd69137884a38b152783b0069551725

File Added: pkgsrc/comms/asterisk/patches/Attic/patch-res_res__fax.c
$NetBSD: patch-res_res__fax.c,v 1.1 2016/10/26 05:53:37 jnemeth Exp $

--- res/res_fax.c.orig	2016-10-25 18:53:17.000000000 +0000
+++ res/res_fax.c
@@ -2982,6 +2982,10 @@ static void fax_gateway_framehook_destro
 	ao2_ref(gateway, -1);
 }
 
+RAII_DECL(struct ast_fax_session_details *, details, ao2_cleanup);
+RAII_DECL(struct ast_channel *, peer, ao2_cleanup);
+RAII_DECL(struct ast_channel *, chan_ref, ao2_cleanup);
+
 /*!
  * \brief T.30<->T.38 gateway framehook.
  *
@@ -3002,9 +3006,9 @@ static struct ast_frame *fax_gateway_fra
 {
 	struct fax_gateway *gateway = data;
 	struct ast_channel *active;
-	RAII_VAR(struct ast_fax_session_details *, details, NULL, ao2_cleanup);
-	RAII_VAR(struct ast_channel *, peer, NULL, ao2_cleanup);
-	RAII_VAR(struct ast_channel *, chan_ref, chan, ao2_cleanup);
+	RAII_VAR(struct ast_fax_session_details *, details, NULL);
+	RAII_VAR(struct ast_channel *, peer, NULL);
+	RAII_VAR(struct ast_channel *, chan_ref, chan);
 
 	/* Ref bump channel for when we have to unlock it */
 	ao2_ref(chan_ref, 1);
@@ -3347,7 +3351,7 @@ static struct ast_frame *fax_detect_fram
 	struct ast_fax_session_details *details;
 	struct ast_control_t38_parameters *control_params;
 	struct ast_channel *peer;
-	RAII_VAR(struct ast_channel *, chan_ref, chan, ao2_cleanup);
+	RAII_VAR(struct ast_channel *, chan_ref, chan);
 	int result = 0;
 
 	/* Ref bump the channel for when we have to unlock it */