1ISDNCONF(1)                 Linux System Utilities                 ISDNCONF(1)
2
3
4

NAME

6       isdnconf - manipulate or read ISDN phone number config files.
7
8

SYNOPSIS

10       isdnconf
11
12

DESCRIPTION

14       isdnconf  can  manipulate  or  read the file /etc/isdn/callerid.conf as
15       well as ~/.isdn.  Entries can be added or  removed  from  these  files.
16       Additionally,  entries can be searched for and displayed in a way simi‐
17       lar to grep.  An entry can be an own MSN  ([MSN])  or  a  phone  number
18       ([NUMBER]).
19
20       You  can  use this program to build your own phonebook. These files are
21       used by many of the other ISDN utilities that  use  phone  numbers,  to
22       display a number symbolically instead of as a plain number.
23
24

OPTIONS

26       Note: use of the options -A and -D is dangerous! The complete structure
27       of the file may be changed, and all comments are removed! Make  backups
28       of your data files before trying these.
29
30       COMMAND OPTIONS:
31
32       -A  Add  a  new entry, which is read from standard input. The following
33           values are asked for (shown here with examples):
34
35           Alias:          Fred
36           Number:         0815/441777
37           SI:             0
38           Zone:           4
39           Interface:      -
40           Flags:          I|O
41           Program:        /usr/local/bin/ring
42           User:           uucp
43           Group:          user
44           Interval:
45           Time:           8-20
46           Flags:          (control-D here indicates end of flags)
47
48           Alias:          (control-D here indicates end of entries)
49
50           If you want another  [Flags]  entry,  simply  enter  the  data  for
51           another  program  for  this number at the point where the control-D
52           was given above.
53
54           If you want to add another number, simply enter the  data  for  the
55           next number at the Alias prompt.
56
57           You  can  also  pipe the data into the program; the input data must
58           correspond to the prompts that the program gives! Note that you can
59           only  add one number at a time then (there's no way of telling isd‐
60           nconf that you want to stop giving Flags info and start giving  the
61           next Alias info).
62
63
64
65       -D  Delete  one or more entries which match the data options given. How
66           to supply the data to match is discussed below (see DATA OPTIONS).
67
68
69       -V  version: display the program's version and terminate.
70
71
72       If both -A and -D are given together, isdnconf will terminate, as  this
73       is not a valid combination.
74
75       If neither -A nor -D is given, then isdnconf will display entries which
76       match the data given.
77
78       DATA OPTIONS: (not applicable for -A)
79
80       -n 'number'
81           number: match the given number. It can contain wildcards.
82
83
84       -a 'alias'
85           alias: match the given alias name. The name can contain  wildcards.
86           Note: due to a bug, use '?' instead of '-'.
87
88
89       -t 'SI'
90           SI: match the given service indicator.
91
92
93       -c 'code'
94           code: match the area code of the phone number. Only usable for dis‐
95           playing (not for -A nor -D).
96
97
98       -i  ignore case for the -n and -a options.
99
100
101       -w  word: the parameters for -n and -a must match the whole value,  not
102           just a substring.
103           Examples (here for -n):
104
105           "*34*" matches 123456, 345677, 1234
106           "34*"  matches 34567, 34111 but not 1234
107           "34??" matches 3411, 3456
108           "34"   matches only 34
109
110           Without the -w option, these would match:
111
112           "*34*" matches 123456, 345677, 1234
113           "34*"  matches 123456, 345677, 1234, 34567, 34111
114           "34??" matches 123456, 345677, 1234, 3411, 3456
115           "34"   matches 123456, 345677, 1234, 3411, 3456, 34567
116
117
118
119       -d  and:  by  default the values given to options -n, -a and -t will be
120           combined with a logical OR. If these should be combined with a log‐
121           ical  AND (which is probably what most people expect!) you must use
122           this -d option.  In this case you can only supply each of  the  -n,
123           -a and -t options exactly once.
124
125
126       OTHER OPTIONS:
127
128       -q  quiet:  when using the -A or -D commands, the output is suppressed.
129           When not using the -A or -D commands, only the alias of the  match‐
130           ing  number  is  shown, or just the number in case the alias is not
131           found.
132
133
134       -m  MSN: when used in combination with the -A command,  instructs  isd‐
135           nconf  to  create  a  new MSN entry; the default is to create a new
136           NUMBER entry. Only the values alias, number, SI, zone and interface
137           are applicable to an MSN entry.
138
139
140       The  following two options do not apply to the -A and -D commands. They
141       only change the output format.
142
143
144       -s  short: only display the alias and the number.
145
146
147       -l  long: also display the programs to run ([START]).
148
149
150       -f 'filename'
151           file: usually isdnconf uses  the  /etc/isdn/callerid.conf  and  the
152           ~/.isdn  files.  If isdnconf should be applied to another file, use
153           this option.
154
155
156       -g  global: only applies to the -A and -D commands. Instead of  editing
157           ~/.isdn, /etc/isdn/callerid.conf is edited.
158
159
160       -1  first: only delete or display the first entry.
161
162
163       -M  isdnmon: used internally by isdnmon to get alias info.
164
165
166

AUTHOR

168       Andreas Kool <akool@isdn4linux.de>
169       manpage adapted from the README by Paul Slootman <paul@isdn4linux.de>
170

SEE ALSO

172       callerid.conf(5), isdnlog(8)
173
174
175
176isdn4k-utils-3.13                 1998/12/29                       ISDNCONF(1)
Impressum