Bug#301490: marked as done (asterisk: Please add patch for Italian syntax)

Debian Bug Tracking System owner at bugs.debian.org
Tue Aug 9 21:18:54 UTC 2005


Your message dated Tue, 9 Aug 2005 22:02:56 +0100
with message-id <200508092202.56899.msp at debian.org>
and subject line fixed in previous upload
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Mar 2005 10:25:29 +0000
>From alex at nibbles.it Sat Mar 26 02:25:29 2005
Return-path: <alex at nibbles.it>
Received: from (soacompany.it) [83.103.43.180] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1DF8Tw-0005yp-00; Sat, 26 Mar 2005 02:25:29 -0800
Received: (qmail 6252 invoked by uid 0); 26 Mar 2005 10:25:26 -0000
Message-ID: <20050326102526.6251.qmail at soacompany.it>
Content-Type: multipart/mixed; boundary="===============0930307357=="
MIME-Version: 1.0
From: Alessandro Polverini <alex at nibbles.it>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: asterisk: Please add patch for Italian syntax
X-Mailer: reportbug 3.8
Date: Sat, 26 Mar 2005 11:25:26 +0100
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0930307357==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: asterisk
Severity: wishlist
Tags: patch

Hello,
attached is a trivial backport I did from devel branch which supports
italian syntax for voicemail.

Please consider applying it to debian relase.

Thanks,
Alex

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

--===============0930307357==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="app_voicemail.diff"

--- app_voicemail.c	2005-03-02 23:24:02.000000000 +0100
+++ app_voicemail-tmp.c	2005-03-26 11:12:41.331409862 +0100
@@ -2723,6 +2723,59 @@
 	return res;
 }
 
+/* ITALIAN syntax */
+static int vm_intro_it(struct ast_channel *chan,struct vm_state *vms)
+{
+        /* Introduce messages they have */
+        int res;
+        if (!vms->oldmessages && !vms->newmessages) {
+		res = ast_play_and_wait(chan, "vm-no");
+		if (!res)
+			res = ast_play_and_wait(chan, "vm-message");
+        } else {
+                res = ast_play_and_wait(chan, "vm-youhave");
+        }
+        if (!res) {
+                if (vms->newmessages) {
+                        if (!res) {
+                                if ((vms->newmessages == 1)) {
+                                        res = ast_play_and_wait(chan, "digits/un");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-message");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-nuovo");
+                                } else {
+                                        res = say_and_wait(chan, vms->newmessages, chan->language);
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-messages");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-nuovi");
+                                }
+                        }
+                        if (vms->oldmessages && !res)
+                                res = ast_play_and_wait(chan, "vm-and");
+                }
+                if (vms->oldmessages) {
+                        if (!res) {
+                                if (vms->oldmessages == 1) {
+                                        res = ast_play_and_wait(chan, "digits/un");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-message");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-vecchio");
+                                } else {
+                                        res = say_and_wait(chan, vms->oldmessages, chan->language);
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-messages");
+                                        if (!res)
+                                                res = ast_play_and_wait(chan, "vm-vecchi");
+                                }
+                        }
+                }
+        }
+	return res;
+}
+
 /* GERMAN syntax */
 static int vm_intro_de(struct ast_channel *chan,struct vm_state *vms)
 {
@@ -3050,6 +3103,8 @@
 		return vm_intro_de(chan, vms);
 	} else if (!strcasecmp(chan->language, "es")) { /* SPANISH syntax */
 		return vm_intro_es(chan, vms);
+	} else if (!strcasecmp(chan->language, "it")) { /* ITALIAN syntax */
+		return vm_intro_it(chan, vms);
 	} else if (!strcasecmp(chan->language, "fr")) {	/* FRENCH syntax */
 		return vm_intro_fr(chan, vms);
 	} else if (!strcasecmp(chan->language, "nl")) {	/* DUTCH syntax */

--===============0930307357==--

---------------------------------------
Received: (at 301490-done) by bugs.debian.org; 9 Aug 2005 21:03:07 +0000
>From msp at debian.org Tue Aug 09 14:03:07 2005
Return-path: <msp at debian.org>
Received: from (bristol.purcell.id.au) [212.139.8.15] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E2bFb-0001cA-00; Tue, 09 Aug 2005 14:03:07 -0700
Received: from [192.168.3.150] (helo=dell.purcell.id.au)
	by bristol.purcell.id.au with esmtp (Exim 4.52)
	id 1E2bFa-0006WF-7o
	for 301490-done at bugs.debian.org; Tue, 09 Aug 2005 22:03:10 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.52)
	id 1E2bFR-0006z3-8L
	for 301490-done at bugs.debian.org; Tue, 09 Aug 2005 22:02:57 +0100
Content-Length: 377
From: Mark Purcell <msp at debian.org>
Organization: Debian GNU Linux
To: 301490-done at bugs.debian.org
Date: Tue, 9 Aug 2005 22:02:56 +0100
User-Agent: KMail/1.8.1
Disposition-Notification-To: Mark Purcell <msp at debian.org>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200508092202.56899.msp at debian.org>
X-SA-Exim-Connect-IP: 192.168.3.150
X-SA-Exim-Rcpt-To: 301490-done at bugs.debian.org
X-SA-Exim-Mail-From: msp at debian.org
Subject: fixed in previous upload
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
Delivered-To: 301490-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

I beleive this bug was fixed in asterisk (1:1.0.9.dfsg-2), if this isn't the 
case please reopen.

Thanks,
Mark

asterisk (1:1.0.9.dfsg-2) unstable; urgency=low

  * Closes: #301490: Please add patch for Italian syntax
  * Closes: #305734: On PowerPC, hanging up on voicemail causes non-stop
    log messages

 -- Mark Purcell <msp at debian.org>  Fri,  1 Jul 2005 23:24:53 +0100



More information about the Pkg-voip-maintainers mailing list