From c36b13ad00cd1679eee0933c1b10092b5d20bc23 Mon Sep 17 00:00:00 2001 From: gernot Date: Sun, 18 Apr 2004 14:33:41 +0000 Subject: [PATCH] allow * and # in destination numbers git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@302 4ebea2bb-67d4-0310-8558-a5799e421b66 --- ChangeLog | 3 +++ scripts/capisuitefax.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b89f54..a0b194c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-04-18 Gernot Hillier + * scripts/capisuitefax.in: allow * and # in destination numbers + 2004-03-24 Gernot Hillier * docs/Makefile.am: change pathes to Docbook stylesheets to reflect changes in SUSE 9.1 diff --git a/scripts/capisuitefax.in b/scripts/capisuitefax.in index a1fc18e..eb5b256 100755 --- a/scripts/capisuitefax.in +++ b/scripts/capisuitefax.in @@ -139,7 +139,7 @@ if (not abort and not listqueue and not dialstring): # filter out common separators from dialstring, check it dialstring=dialstring.translate(string.maketrans("",""),"-/ ()") for i in dialstring: - if ((i>'9' or i<'0') and i not in ('+')): + if ((i>'9' or i<'0') and i not in ('+*#')): usage("Invalid dialstring given.") if (dialstring and len(args)==0):