Bug#315578: New version of asterisk and bristuff released

Tzafrir Cohen Tzafrir Cohen <tzafrir.cohen@xorcom.com>, 315578@bugs.debian.org
Sat, 25 Jun 2005 22:19:15 +0300


--QRj9sO5tAVLaXnSD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jun 23, 2005 at 06:47:37PM +0200, Alessandro Polverini wrote:
> Package: asterisk
> Version: 1:1.0.7.dfsg.1-2
> Severity: wishlist
> 
> Hello,
> asterisk 1.0.8 and bristuff 0.2.0-RC8g are out.
> 
> New packages welcome :)

bristuff RC8h is out, for 1.0.8. OTOH, there seems to be a problem with
1.0.8:
http://lists.digium.com/pipermail/asterisk-users/2005-June/113694.html

I attach a dpatch from this patch. But I figure we should wait a couple
of days to check it.

In the mean while I have initial 1.0.8 packages here with three more man
pages, de tonezones and other stuff. Seems to basically work.

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen@xorcom.com  http://www.xorcom.com

--QRj9sO5tAVLaXnSD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="broken_108.dpatch"

#! /bin/sh /usr/share/dpatch/dpatch-run
## broken_108.dpatch by Xorcom Ltd. (software releases key) <support@xorcom.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix a problem with CallerID identification in 1.0.8

@DPATCH@
diff -urNad asterisk-1.0.8.dfsg.1/pbx/pbx_config.c /tmp/dpep.2BYkeW/asterisk-1.0.8.dfsg.1/pbx/pbx_config.c
--- asterisk-1.0.8.dfsg.1/pbx/pbx_config.c	2005-05-19 05:51:00.000000000 +0300
+++ /tmp/dpep.2BYkeW/asterisk-1.0.8.dfsg.1/pbx/pbx_config.c	2005-06-25 21:45:48.000000000 +0300
@@ -1688,14 +1688,9 @@
 									data = "";
 							}
 							pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext)-1);	
-							cidmatch = strchr(ext, '/');
-							if (cidmatch) {
-								*cidmatch = '\0';
-								cidmatch++;
-							}
-							stringp=ext;
-							strsep(&stringp, "/");
-
+							stringp = realext;
+							ext = strsep(&stringp, "/");
+							cidmatch = stringp;
 							if (!data)
 								data="";
 							while(*appl && (*appl < 33)) appl++;

--QRj9sO5tAVLaXnSD--