pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk18 Update to Asterisk 1.8.29.0: this is ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa540632b67d
branches:  trunk
changeset: 637290:aa540632b67d
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Sat Jul 26 07:03:26 2014 +0000

description:
Update to Asterisk 1.8.29.0: this is a general bug fix release.

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

The release of Asterisk 1.8.29.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-22551 - Session timer : UAS (Asterisk) starts counting
      at Invite, UAC starts counting at 200 OK. (Reported by i2045)
 * ASTERISK-23582 - [patch]Inconsistent column length in *odbc
      (Reported by Walter Doekes)
 * ASTERISK-23803 - AMI action UpdateConfig EmptyCat clears all
      categories but the requested one (Reported by zvision)
 * ASTERISK-23035 - ConfBridge with name longer than max (32 chars)
      results in several bridges with same conf_name (Reported by
      Iñaki Cívico)
 * ASTERISK-23683 - #includes - wildcard character in a path more
      than one directory deep - results in no config parsing on module
      reload (Reported by tootai)
 * ASTERISK-23827 - autoservice thread doesn't exit at shutdown
      (Reported by Corey Farrell)
 * ASTERISK-23814 - No call started after peer dialed (Reported by
      Igor Goncharovsky)
 * ASTERISK-23673 - Security: DOS by consuming the number of
      allowed HTTP connections. (Reported by Richard Mudgett)
 * ASTERISK-23246 - DEBUG messages in sdp_crypto.c display despite
      a DEBUG level of zero (Reported by Rusty Newton)
 * ASTERISK-23766 - [patch] Specify timeout for database write in
      SQLite (Reported by Igor Goncharovsky)
 * ASTERISK-23818 - PBX_Lua: after asterisk startup module is
      loaded, but dialplan not available (Reported by Dennis Guse)
 * ASTERISK-23667 - features.conf.sample is unclear as to which
      options can or cannot be set in the general section (Reported by
      David Brillert)
 * ASTERISK-23790 - [patch] - SIP From headers longer than 256
      characters result in dropped call and 'No closing bracket'
      warnings. (Reported by uniken1)
 * ASTERISK-23908 - [patch]When using FEC error correction,
      asterisk tries considers negative sequence numbers as missing
      (Reported by Torrey Searle)
 * ASTERISK-23921 - refcounter.py uses excessive ram for large refs
      files  (Reported by Corey Farrell)
 * ASTERISK-23948 - REF_DEBUG fails to record ao2_ref against
      objects that were already freed (Reported by Corey Farrell)
 * ASTERISK-23984 - Infinite loop possible in ast_careful_fwrite()
      (Reported by Steve Davies)
 * ASTERISK-23897 - [patch]Change in SETUP ACK handling (checking
      PI) in revision 413765 breaks working environments (Reported by
      Pavel Troller)

Improvements made in this release:
-----------------------------------
 * ASTERISK-23564 - [patch]TLS/SRTP status of channel not currently
      available in a CLI command (Reported by Patrick Laimbock)
 * ASTERISK-23492 - Add option to safe_asterisk to disable
      backgrounding (Reported by Walter Doekes)

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

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

Thank you for your continued support of Asterisk!

diffstat:

 comms/asterisk18/Makefile         |   4 +-
 comms/asterisk18/distinfo         |  16 +++++++-------
 comms/asterisk18/patches/patch-ax |  43 +++++++++++++++++++++++---------------
 3 files changed, 36 insertions(+), 27 deletions(-)

diffs (186 lines):

diff -r 9b7661f82a4d -r aa540632b67d comms/asterisk18/Makefile
--- a/comms/asterisk18/Makefile Sat Jul 26 06:19:38 2014 +0000
+++ b/comms/asterisk18/Makefile Sat Jul 26 07:03:26 2014 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.84 2014/07/02 03:20:43 jnemeth Exp $
+# $NetBSD: Makefile,v 1.85 2014/07/26 07:03:26 jnemeth Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked
 
-DISTNAME=      asterisk-1.8.28.2
+DISTNAME=      asterisk-1.8.29.0
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 DISTFILES=     ${DEFAULT_DISTFILES}
 EXTRACT_ONLY=  ${DISTNAME}.tar.gz
diff -r 9b7661f82a4d -r aa540632b67d comms/asterisk18/distinfo
--- a/comms/asterisk18/distinfo Sat Jul 26 06:19:38 2014 +0000
+++ b/comms/asterisk18/distinfo Sat Jul 26 07:03:26 2014 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.53 2014/07/02 03:20:43 jnemeth Exp $
+$NetBSD: distinfo,v 1.54 2014/07/26 07:03:26 jnemeth Exp $
 
-SHA1 (asterisk-1.8.28.2/asterisk-1.8.28.2.tar.gz) = 880230919996fa4168c1baa7246d71065642f92f
-RMD160 (asterisk-1.8.28.2/asterisk-1.8.28.2.tar.gz) = b3cabf829b21350b771bf029db85830749628e7c
-Size (asterisk-1.8.28.2/asterisk-1.8.28.2.tar.gz) = 29521616 bytes
-SHA1 (asterisk-1.8.28.2/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 14403cd023e812565085c8232210b8b439274ecf
-RMD160 (asterisk-1.8.28.2/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 675fc1f3cedd0e17b62a8285f9f0527783cfb1d3
-Size (asterisk-1.8.28.2/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 4386590 bytes
+SHA1 (asterisk-1.8.29.0/asterisk-1.8.29.0.tar.gz) = dd4450f42b801ac12b5502af93e7cc91d216cac6
+RMD160 (asterisk-1.8.29.0/asterisk-1.8.29.0.tar.gz) = 9f33fe41a03acbc4baa7ae2862b76afef55e2e7a
+Size (asterisk-1.8.29.0/asterisk-1.8.29.0.tar.gz) = 29538404 bytes
+SHA1 (asterisk-1.8.29.0/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 14403cd023e812565085c8232210b8b439274ecf
+RMD160 (asterisk-1.8.29.0/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 675fc1f3cedd0e17b62a8285f9f0527783cfb1d3
+Size (asterisk-1.8.29.0/asterisk-extra-sounds-en-gsm-1.4.14.tar.gz) = 4386590 bytes
 SHA1 (patch-aa) = 832f1c043b15198e0a286094dd0cc1a251bcfed0
 SHA1 (patch-af) = 19786616bb606c38f769ec85f2e4d118573659ab
 SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39
@@ -22,7 +22,7 @@
 SHA1 (patch-au) = 773398e719dca34640dcdc190857872da1ad7b4f
 SHA1 (patch-av) = 3424013b5bf22624aa664e972e2b495ab3296cbe
 SHA1 (patch-aw) = 0534acd67ea5da1eee8cf282035ebf4c559278ab
-SHA1 (patch-ax) = aae5b9954f9ae672aa948f1daa88494f1b407e81
+SHA1 (patch-ax) = 78d61807c7cf97aff3fe6a395ed6b4975b63d8d0
 SHA1 (patch-ay) = 746a609e4d01903ebdf525a7cf5c3925729e74b0
 SHA1 (patch-az) = 64365b12cb47ec0fba358e4326eda172f96068cf
 SHA1 (patch-ba) = ffb20f4788f2f253e822fb48c68fec04c31b0619
diff -r 9b7661f82a4d -r aa540632b67d comms/asterisk18/patches/patch-ax
--- a/comms/asterisk18/patches/patch-ax Sat Jul 26 06:19:38 2014 +0000
+++ b/comms/asterisk18/patches/patch-ax Sat Jul 26 07:03:26 2014 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ax,v 1.4 2013/04/18 16:55:22 jnemeth Exp $
+$NetBSD: patch-ax,v 1.5 2014/07/26 07:03:26 jnemeth Exp $
 
---- apps/app_queue.c.orig      2013-01-08 20:22:16.000000000 +0000
+--- apps/app_queue.c.orig      2014-06-12 15:38:48.000000000 +0000
 +++ apps/app_queue.c
-@@ -3533,8 +3533,8 @@ static void record_abandoned(struct queu
+@@ -3591,8 +3591,8 @@ static void record_abandoned(struct queu
                "Uniqueid: %s\r\n"
                "Position: %d\r\n"
                "OriginalPosition: %d\r\n"
@@ -13,16 +13,16 @@
  
        qe->parent->callsabandoned++;
        ao2_unlock(qe->parent);
-@@ -4210,7 +4210,7 @@ static int wait_our_turn(struct queue_en
+@@ -4309,7 +4309,7 @@ static int wait_our_turn(struct queue_en
  
-                       if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty))) {
+                       if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty, 0))) {
                                *reason = QUEUE_LEAVEEMPTY;
 -                              ast_queue_log(qe->parent->name, qe->chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe->pos, qe->opos, (long) time(NULL) - qe->start);
 +                              ast_queue_log(qe->parent->name, qe->chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%jd", qe->pos, qe->opos, (intmax_t) time(NULL) - qe->start);
                                leave_queue(qe);
                                break;
                        }
-@@ -4417,12 +4417,12 @@ static void send_agent_complete(const st
+@@ -4516,12 +4516,12 @@ static void send_agent_complete(const st
                "Channel: %s\r\n"
                "Member: %s\r\n"
                "MemberName: %s\r\n"
@@ -38,7 +38,7 @@
                qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, vars_len) : "");
  }
  
-@@ -4465,9 +4465,9 @@ static void queue_transfer_fixup(void *d
+@@ -4564,9 +4564,9 @@ static void queue_transfer_fixup(void *d
        int callcompletedinsl = qtds->callcompletedinsl;
        struct ast_datastore *datastore;
  
@@ -51,7 +51,7 @@
  
        update_queue(qe->parent, member, callcompletedinsl, (time(NULL) - callstart));
        
-@@ -4956,7 +4956,7 @@ static int try_calling(struct queue_ent 
+@@ -5055,7 +5055,7 @@ static int try_calling(struct queue_ent 
                        } else if (ast_check_hangup(qe->chan)) {
                                /* Caller must have hung up just before being connected */
                                ast_log(LOG_NOTICE, "Caller was about to talk to agent on %s but the caller hungup.\n", peer->name);
@@ -60,7 +60,7 @@
                                record_abandoned(qe);
                                ast_hangup(peer);
                                ao2_ref(member, -1);
-@@ -5002,8 +5002,8 @@ static int try_calling(struct queue_ent 
+@@ -5101,8 +5101,8 @@ static int try_calling(struct queue_ent 
                /* if setqueueentryvar is defined, make queue entry (i.e. the caller) variables available to the channel */
                /* use  pbx_builtin_setvar to set a load of variables with one call */
                if (qe->parent->setqueueentryvar) {
@@ -71,7 +71,7 @@
                        pbx_builtin_setvar_multiple(qe->chan, interfacevar);
                        pbx_builtin_setvar_multiple(peer, interfacevar);
                }
-@@ -5257,8 +5257,8 @@ static int try_calling(struct queue_ent 
+@@ -5356,8 +5356,8 @@ static int try_calling(struct queue_ent 
                                ast_log(LOG_WARNING, "Asked to execute an AGI on this channel, but could not find application (agi)!\n");
                }
                qe->handled++;
@@ -82,7 +82,7 @@
  
                if (qe->chan->cdr) {
                        struct ast_cdr *cdr;
-@@ -5294,12 +5294,12 @@ static int try_calling(struct queue_ent 
+@@ -5393,12 +5393,12 @@ static int try_calling(struct queue_ent 
                                        "Channel: %s\r\n"
                                        "Member: %s\r\n"
                                        "MemberName: %s\r\n"
@@ -98,7 +98,7 @@
                                        qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : "");
                ast_copy_string(oldcontext, qe->chan->context, sizeof(oldcontext));
                ast_copy_string(oldexten, qe->chan->exten, sizeof(oldexten));
-@@ -5331,17 +5331,17 @@ static int try_calling(struct queue_ent 
+@@ -5430,17 +5430,17 @@ static int try_calling(struct queue_ent 
  
                        /* detect a blind transfer */
                        if (!(qe->chan->_softhangup | peer->_softhangup) && (strcasecmp(oldcontext, qe->chan->context) || strcasecmp(oldexten, qe->chan->exten))) {
@@ -123,7 +123,7 @@
                                send_agent_complete(qe, queuename, peer, member, callstart, vars, sizeof(vars), AGENT);
                        }
                        if ((tds = ast_channel_datastore_find(qe->chan, &queue_transfer_info, NULL))) { 
-@@ -6237,8 +6237,8 @@ check_turns:
+@@ -6336,8 +6336,8 @@ check_turns:
                        record_abandoned(&qe);
                        reason = QUEUE_TIMEOUT;
                        res = 0;
@@ -134,8 +134,8 @@
                        break;
                }
  
-@@ -6280,7 +6280,7 @@ check_turns:
-                       if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty))) {
+@@ -6379,7 +6379,7 @@ check_turns:
+                       if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty, 0))) {
                                record_abandoned(&qe);
                                reason = QUEUE_LEAVEEMPTY;
 -                              ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe.pos, qe.opos, (long)(time(NULL) - qe.start));
@@ -143,7 +143,7 @@
                                res = 0;
                                break;
                        }
-@@ -6302,7 +6302,7 @@ check_turns:
+@@ -6401,7 +6401,7 @@ check_turns:
                        record_abandoned(&qe);
                        reason = QUEUE_TIMEOUT;
                        res = 0;
@@ -152,7 +152,7 @@
                        break;
                }
  
-@@ -6329,8 +6329,8 @@ stop:
+@@ -6428,8 +6428,8 @@ stop:
                        if (!qe.handled) {
                                record_abandoned(&qe);
                                ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ABANDON",
@@ -163,3 +163,12 @@
                                res = -1;
                        } else if (qcontinue) {
                                reason = QUEUE_CONTINUE;
+@@ -6437,7 +6437,7 @@ stop:
+                       }
+               } else if (qe.valid_digits) {
+                       ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITWITHKEY",
+-                              "%s|%d|%d|%ld", qe.digits, qe.pos, qe.opos, (long) time(NULL) - qe.start);
++                              "%s|%d|%d|%jd", qe.digits, qe.pos, qe.opos, (intmax_t) time(NULL) - qe.start);
+               }
+       }
+ 



Home | Main Index | Thread Index | Old Index