allow * and # in destination numbers

git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@302 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
gernot 2004-04-18 14:33:41 +00:00
parent 1ef6cf00aa
commit c36b13ad00
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2004-04-18 Gernot Hillier <gernot@hillier.de>
* scripts/capisuitefax.in: allow * and # in destination numbers
2004-03-24 Gernot Hillier <gernot@hillier.de>
* docs/Makefile.am: change pathes to Docbook stylesheets to reflect
changes in SUSE 9.1

View File

@ -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):