pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk14 Update to Asterisk 14.1.0: this is mo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90f71511d3e0
branches:  trunk
changeset: 354332:90f71511d3e0
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Thu Oct 27 06:43:39 2016 +0000

description:
Update to Asterisk 14.1.0: this is mostly a bug fix release.

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

The release of Asterisk 14.1.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:

New Features made in this release:
-----------------------------------
 * ASTERISK-26277 - Add dialplan function
      PJSIP_SEND_SESSION_REFRESH that sends a session refresh to
      update formats on a channel after session establishment
      (Reported by Matt Jordan)

Bugs fixed in this release:
-----------------------------------
 * ASTERISK-26477 - pjproject:  SEGV during SSL operations
      (Reported by George Joseph)
 * ASTERISK-17470 - [patch] - When videosupport=yes, asterisk
      allows one end peer to send video, even though the other end
      supports only audio. (Reported by effie mouzeli)
 * ASTERISK-26416 - pjproject-bundled: configure fails to check for
      all required utilities (Reported by Corey Farrell)
 * ASTERISK-26466 - core: Be forgiving on external callerid that
      may be flawed so we don't drop events (Reported by Richard
      Mudgett)
 * ASTERISK-26362 - res_config_mysql:  Broken after 13.10 (Reported
      by Carlos Chavez)
 * ASTERISK-26446 - app_dial:  There's no way to override the
      hangupcause on unanswered channels (Reported by George Joseph)
 * ASTERISK-26410 - core: Asterisk 14 doesn't show the header in
      the console or verbose when starting (Reported by Dan Jenkins)
 * ASTERISK-24311 - Populating database via Alembic fails when
      using same database for multiple schema sets (Reported by Dafi
      Ni)
 * ASTERISK-26438 - [patch] chan_sip: auto_force_rport: No NAT = No
      Symmetric Response. (Reported by Alexander Traud)
 * ASTERISK-26426 - format_ogg_opus: remove from source (Reported
      by Kevin Harwell)
 * ASTERISK-18232 - Broken REGISTER sent to IPv4 server when
      bindaddr=[::] (Reported by Jacek)
 * ASTERISK-25468 - Deadlock in chan_sip - core show locks shows
      do_monitor lock (Reported by Barry Flanagan)
 * ASTERISK-26397 - manager: PresenceState action crashes Asterisk
      14 (Reported by Andrew Nagy)
 * ASTERISK-26389 - res_odbc: Clean up pooling options (Reported by
      Joshua Colp)
 * ASTERISK-26359 - [patch] cdr_mysql: fails to use UTC if so
      instructed (Reported by Tzafrir Cohen)
 * ASTERISK-26273 - core: Won't compile when LOW_MEMORY is enabled
      (Reported by Anthony Messina)
 * ASTERISK-26391 - Consoles do not display verbose logger messages
      even when requested. (Reported by Marcelo Terres)
 * ASTERISK-26263 - SQL error when using realtime and registering
      extension / inserting into ps_contacts (Reported by Jeppe Ryskov
      Larsen)
 * ASTERISK-26365 - rtp: Offer with multiple payloads for same
      codec is incorrectly handled (Reported by Joshua Colp)
 * ASTERISK-19968 - TCP Session-Timers not dropping call (Reported
      by Aaron Hamstra)
 * ASTERISK-26374 - res_pjsip_multihomed: Contact port is rewritten
      for connectionful protocols (Reported by Joshua Colp)
 * ASTERISK-26367 - rtp: Timestamps broken when video frame is
      across multiple RTP packets (Reported by Joshua Colp)
 * ASTERISK-26375 - res_pjsip_transport_management: Log message
      states seconds, but time value is milliseconds (Reported by
      Joshua Colp)
 * ASTERISK-26364 - res_pjsip: Don't assume a request will have
      target addresses (Reported by Joshua Colp)
 * ASTERISK-26360 - app_queue: "queue show" output gets "failed to
      extend from 240 to 327" msgs. (Reported by Richard Mudgett)
 * ASTERISK-26316 - res_pjsip_callerid: Irregular URI causes
      unexpected callerid (Reported by Kevin Harwell)
 * ASTERISK-26349 -  13.11.1 res_pjsip/pjsip_distributor.c: Request
      'REGISTER' failed (Reported by Dmitry Melekhov)
 * ASTERISK-26272 - chan_sip: File descriptors leak (UDP sockets)
      (Reported by Etienne Lessard)
 * ASTERISK-26264 - res_pjsip: Crash when applying ACL from
      non-existent endpoint (Reported by nappsoft)
 * ASTERISK-26341 - ARI: Stopping a media playlist only stops the
      current media URI being played back, and not the whole list
      (Reported by Matt Jordan)
 * ASTERISK-25691 - Crash occurs when screening mode (Dial's 'p'
      argument) is enabled and callee rejects a call or hangs up.
      (Reported by Etienne Lessard)
 * ASTERISK-26331 - Crash on "core show channeltype Surrogate" in
      ast_format_cap_get_names (Reported by CGI.NET)
 * ASTERISK-26269 - res_pjsip: Wrong state for aors without
      registered contacts after startup (Reported by nappsoft)
 * 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-26279 - pjproject-bundled:  Fails to compile on Debian
      6 (Reported by George Joseph)
 * 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-26288 - followme: fails to reset config items to
      default values on reload (Reported by Tzafrir Cohen)
 * ASTERISK-22374 - Finish mapping the sip.conf parameters to
      res_sip.conf parameters (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-26228 - res_pjsip_sdp_rtp: G729A does not include
      annexb=no attribute. (Reported by Ali Ghavidel)
 * ASTERISK-25472 - Swagger scripts are not replacing format
      variable in file brief (Reported by Corey Farrell)
 * ASTERISK-25984 - res_odbc relies on res_odbc_transaction, but
      it's not mandatory to compile it (Reported by J?zsef Dud?s)
 * ASTERISK-26305 - Asterisk 14: Two resolver unbound testsuite
      tests fail (Reported by Richard Mudgett)
 * ASTERISK-26303 - [patch] BuildSystem: ca_list_path capabilities
      not detected in PJProject. (Reported by Alexander Traud)
 * ASTERISK-25492 - ARI: Path parameters are case sensitive
      (Reported by Joshua Colp)
 * ASTERISK-26164 - XMPP no longer triggers NOTIFY to device via
      chan_pjsip (Reported by Ross Beer)
 * ASTERISK-26233 - pbx: Failure to remove inconsistent extension
      names (Reported by Corey Farrell)
 * ASTERISK-26246 - Security: Privilege escalation by AMI adding
      dialplan extensions. (Reported by Richard Mudgett)
 * ASTERISK-26267 - ast_register_atexit callbacks should be run on
      failed startup. (Reported by Corey Farrell)
 * ASTERISK-26241 - res_pjsip:  When using compact headers, rpid
      and pai are incorrectly generated (Reported by George Joseph)
 * ASTERISK-25797 - app_queue: Crash when calling a queue with a
      member with a forward to an nonexistent extension (Reported by
      Etienne Lessard)
 * ASTERISK-26239 - res_pjsip_logger:  An empty global/debug option
      is treated as a "match all" hostname (Reported by George Joseph)
 * ASTERISK-26238 - res_pjsip: Empty global default_from_user
      causes crash (Reported by Joshua Colp)
 * ASTERISK-26268 - alembic: 'auth_username' not in PJSIP
      'identify_by' enum (Reported by Joshua Colp)
 * ASTERISK-26253 - sdp_srtp: libsrtp now a required dependency,
      shouldn't be (Reported by Ben Merrills)
 * ASTERISK-26145 - pjsip: Deadlock with suspend + masquerade +
      indicate (Reported by Ross Beer)
 * ASTERISK-26183 - alembic: error when using sqlalchemy version
      1.1.0b2 (Reported by Kevin Harwell)
 * ASTERISK-26283 - res_resolver_unbound:  fails configure on older
      Ubuntu and CentOS (Reported by George Joseph)
 * ASTERISK-26280 - DNS lookups can block channel media paths
      (Reported by Mark Michelson)
 * ASTERISK-26278 - asterisk.h should produce a reasonable error
      for external modules that fail to define AST_MODULE_SELF_SYM.
      (Reported by Corey Farrell)
 * ASTERISK-25217 - [patch]res_pjsip_outbound_publish.c needs a
      similar treatment for module unloading as
      res_pjsip_outbound_registration.c (Reported by Richard Mudgett)
 * ASTERISK-26265 - Errors ignored from some parts of system
      initialization. (Reported by Corey Farrell)
 * ASTERISK-26206 - [patch] res_pjsip: Use more compatible regex
      for get all (Reported by Dmitry)
 * ASTERISK-26256 - [patch] SIP/SDP origin (o=) contains brackets
      with IP6 (Reported by Alexander Traud)
 * ASTERISK-25996 - Remove "live_dangerously" requirement on
      DB(read) (Reported by Andrew Nagy)
 * ASTERISK-26148 - pjsip: Cannot compile 13.10.0-rc1:
      "libasteriskpj.so: undefined reference to..." (Reported by Hans
      van Eijsden)
 * ASTERISK-26237 - Fax is detected on regular calls. (Reported by
      Richard Mudgett)

Improvements made in this release:
-----------------------------------
 * ASTERISK-26409 - codec_opus: Update Asterisk to support the
l
      translation codec. (Reported by Kevin Harwell)
 * ASTERISK-26289 - Announcer channels in ConfBridges cause
      inefficiencies (Reported by Mark Michelson)
 * ASTERISK-25980 - [patch]res_fax: set FAXMODE variable to let
      dialplan know what fax transport was used (Reported by Alexei
      Gradinari)

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

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

Thank you for your continued support of Asterisk!

diffstat:

 comms/asterisk14/Makefile                                       |   4 +-
 comms/asterisk14/PLIST                                          |   3 +-
 comms/asterisk14/distinfo                                       |  21 ++++-----
 comms/asterisk14/patches/patch-funcs_func__cdr.c                |  13 ------
 comms/asterisk14/patches/patch-include_asterisk_autoconfig.h.in |  12 ++--
 5 files changed, 20 insertions(+), 33 deletions(-)

diffs (115 lines):

diff -r 1ddd59bda7a0 -r 90f71511d3e0 comms/asterisk14/Makefile
--- a/comms/asterisk14/Makefile Thu Oct 27 01:13:06 2016 +0000
+++ b/comms/asterisk14/Makefile Thu Oct 27 06:43:39 2016 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/10/25 08:16:31 jnemeth Exp $
+# $NetBSD: Makefile,v 1.2 2016/10/27 06:43:39 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
 
-DISTNAME=      asterisk-14.0.2
+DISTNAME=      asterisk-14.1.0
 CATEGORIES=    comms net audio
 MASTER_SITES=  http://downloads.asterisk.org/pub/telephony/asterisk/ \
                http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \
diff -r 1ddd59bda7a0 -r 90f71511d3e0 comms/asterisk14/PLIST
--- a/comms/asterisk14/PLIST    Thu Oct 27 01:13:06 2016 +0000
+++ b/comms/asterisk14/PLIST    Thu Oct 27 06:43:39 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2016/10/25 08:17:03 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/10/27 06:43:39 jnemeth Exp $
 include/asterisk.h
 include/asterisk/_private.h
 include/asterisk/abstract_jb.h
@@ -428,6 +428,7 @@
 lib/asterisk/modules/res_fax.so
 ${PLIST.spandsp}lib/asterisk/modules/res_fax_spandsp.so
 lib/asterisk/modules/res_format_attr_celt.so
+lib/asterisk/modules/res_format_attr_g729.so
 lib/asterisk/modules/res_format_attr_h263.so
 lib/asterisk/modules/res_format_attr_h264.so
 lib/asterisk/modules/res_format_attr_ilbc.so
diff -r 1ddd59bda7a0 -r 90f71511d3e0 comms/asterisk14/distinfo
--- a/comms/asterisk14/distinfo Thu Oct 27 01:13:06 2016 +0000
+++ b/comms/asterisk14/distinfo Thu Oct 27 06:43:39 2016 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.1.1.1 2016/10/25 08:17:03 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2016/10/27 06:43:39 jnemeth Exp $
 
-SHA1 (asterisk-14.0.2/asterisk-14.0.2.tar.gz) = 9df225ea138c939f86fdb502e948b150d79d974c
-RMD160 (asterisk-14.0.2/asterisk-14.0.2.tar.gz) = 9925ed3a42360b7a3e674df81a928ff501ade016
-SHA512 (asterisk-14.0.2/asterisk-14.0.2.tar.gz) = aa51d7ddaf4945b67aa28a8456834f33e75e0274310b4237443b576bf40eee15d6a3e4e5baad7f28ae299d34b749554518c1c17e364b90ece9aead732392627f
-Size (asterisk-14.0.2/asterisk-14.0.2.tar.gz) = 40472652 bytes
-SHA1 (asterisk-14.0.2/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
-RMD160 (asterisk-14.0.2/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
-SHA512 (asterisk-14.0.2/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
-Size (asterisk-14.0.2/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
+SHA1 (asterisk-14.1.0/asterisk-14.1.0.tar.gz) = 23f5e9f3e9bdee1366241a19a2b77ae697f614b5
+RMD160 (asterisk-14.1.0/asterisk-14.1.0.tar.gz) = 513fa601b6f2c53850a8004f94bfe023ed02ef6d
+SHA512 (asterisk-14.1.0/asterisk-14.1.0.tar.gz) = 31ec4e6528b33c2c7cc87b3f54a638d62598f7df16994332c93ffb005575faf8fa6d319d487971222d080ffa00d5265ceb5e412d43f71a28a73415b4bed5da0e
+Size (asterisk-14.1.0/asterisk-14.1.0.tar.gz) = 40576394 bytes
+SHA1 (asterisk-14.1.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
+RMD160 (asterisk-14.1.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
+SHA512 (asterisk-14.1.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
+Size (asterisk-14.1.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
 SHA1 (patch-Makefile) = 48f9452deea9572b96261208441b10967433e5c1
 SHA1 (patch-addons_chan__ooh323.c) = 9cba619ced6a4449604faebeac33d91a23519c48
 SHA1 (patch-apps_app__dumpchan.c) = 127ac02bdc180ad2334cd095aa6e646feb6fba10
@@ -24,9 +24,8 @@
 SHA1 (patch-configure) = 53e5ea06ba9796eb6621193364b1131e895944a1
 SHA1 (patch-configure.ac) = fa68fb905ceb8d1ee399d01f60ae70c4b11e77e0
 SHA1 (patch-contrib_scripts_vmail.cgi) = 672827eedf315a82a289c82d1ae8b935166e9319
-SHA1 (patch-funcs_func__cdr.c) = 901f33ed2de5834d01cbb93528ade2ac60aaa681
 SHA1 (patch-funcs_func__env.c) = 0faf9eafe2a5f1701924973a54d0ab49ba62a3b3
-SHA1 (patch-include_asterisk_autoconfig.h.in) = 94de39b7eed7d51ae676415ccaadfdee0cdc4d23
+SHA1 (patch-include_asterisk_autoconfig.h.in) = 23807b08b94f5cf9c2de76c2928f7ae38997d006
 SHA1 (patch-include_asterisk_endian.h) = 1fc20d750da7d0a0407c1e1694b8bb21753acdcd
 SHA1 (patch-include_asterisk_lock.h) = ce636ef6102a2a95600cfc8215305507e08fe8f9
 SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf
diff -r 1ddd59bda7a0 -r 90f71511d3e0 comms/asterisk14/patches/patch-funcs_func__cdr.c
--- a/comms/asterisk14/patches/patch-funcs_func__cdr.c  Thu Oct 27 01:13:06 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-funcs_func__cdr.c,v 1.1.1.1 2016/10/25 08:17:07 jnemeth Exp $
-
---- funcs/func_cdr.c.orig      2016-09-30 20:36:17.000000000 +0000
-+++ funcs/func_cdr.c
-@@ -234,7 +234,7 @@ static struct timeval cdr_retrieve_time(
-               ast_cdr_getvar(ast_channel_name(chan), time_name, tempbuf, sizeof(tempbuf));
-       }
- 
--      if (sscanf(tempbuf, "%ld.%ld", &time.tv_sec, &time.tv_usec) != 2) {
-+      if (sscanf(tempbuf, "%jd.%d", (intmax_t *)&time.tv_sec, &time.tv_usec) != 2) {
-               ast_log(AST_LOG_WARNING, "Failed to fully extract '%s' from CDR\n", time_name);
-       }
- 
diff -r 1ddd59bda7a0 -r 90f71511d3e0 comms/asterisk14/patches/patch-include_asterisk_autoconfig.h.in
--- a/comms/asterisk14/patches/patch-include_asterisk_autoconfig.h.in   Thu Oct 27 01:13:06 2016 +0000
+++ b/comms/asterisk14/patches/patch-include_asterisk_autoconfig.h.in   Thu Oct 27 06:43:39 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-include_asterisk_autoconfig.h.in,v 1.1.1.1 2016/10/25 08:17:07 jnemeth Exp $
+$NetBSD: patch-include_asterisk_autoconfig.h.in,v 1.2 2016/10/27 06:43:39 jnemeth Exp $
 
---- include/asterisk/autoconfig.h.in.orig      2015-10-09 21:48:48.000000000 +0000
+--- include/asterisk/autoconfig.h.in.orig      2016-10-25 19:27:49.000000000 +0000
 +++ include/asterisk/autoconfig.h.in
-@@ -900,6 +900,12 @@
+@@ -945,6 +945,12 @@
  /* Define to 1 if you have the `strstr' function. */
  #undef HAVE_STRSTR
  
@@ -15,9 +15,9 @@
  /* Define to 1 if you have the `strtod' function. */
  #undef HAVE_STRTOD
  
-@@ -984,6 +990,9 @@
- /* Define to 1 if you have the <syslog.h> header file. */
- #undef HAVE_SYSLOG_H
+@@ -1032,6 +1038,9 @@
+ /* Define if your system has the SYSTEMD libraries. */
+ #undef HAVE_SYSTEMD
  
 +/* Define to 1 if sys/atomic.h atomic operations are supported. */
 +#undef HAVE_SYS_ATOMIC_H



Home | Main Index | Thread Index | Old Index