Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2016 09:07:19 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416187 - in head/net/asterisk11: . files
Message-ID:  <201605310907.u4V97JbP029968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue May 31 09:07:19 2016
New Revision: 416187
URL: https://svnweb.freebsd.org/changeset/ports/416187

Log:
  Import upstream patch to fix regression in app_queue module.
  
  PR:		209880
  Submitted by:	emz at norma.perm.ru
  Obtained from:	https://github.com/asterisk/asterisk/commit/32b4320d620ffff5c55f111fc22f22fdb07f8c60

Added:
  head/net/asterisk11/files/patch-apps_app__queue.c   (contents, props changed)
Modified:
  head/net/asterisk11/Makefile

Modified: head/net/asterisk11/Makefile
==============================================================================
--- head/net/asterisk11/Makefile	Tue May 31 08:06:39 2016	(r416186)
+++ head/net/asterisk11/Makefile	Tue May 31 09:07:19 2016	(r416187)
@@ -2,7 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	11.22.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:main,g729
 MASTER_SITE_SUBDIR=	asterisk/:main \

Added: head/net/asterisk11/files/patch-apps_app__queue.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/asterisk11/files/patch-apps_app__queue.c	Tue May 31 09:07:19 2016	(r416187)
@@ -0,0 +1,11 @@
+--- apps/app_queue.c.orig	2016-03-29 19:25:17 UTC
++++ apps/app_queue.c
+@@ -3641,7 +3641,7 @@ static int can_ring_entry(struct queue_e
+ 		return 0;
+ 	}
+ 
+-	if (call->member->in_call && call->lastqueue->wrapuptime) {
++	if (call->member->in_call && call->lastqueue && call->lastqueue->wrapuptime) {
+ 		ast_debug(1, "%s is in call, so not available (wrapuptime %d)\n",
+ 			call->interface, call->lastqueue->wrapuptime);
+ 		return 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605310907.u4V97JbP029968>