New entry `REPOPTIONS' in section [ISDNLOG] of the isdn configuration
file. This will be used for commandline options defaults of isdnrep.
This commit is contained in:
parent
ba064e5849
commit
442cf95d05
|
@ -153,6 +153,18 @@ Isdnlog can also limit your transfer in bytes.
|
|||
Example: "BYTEMAX=67108864" will limit your transfer to 64 MB per
|
||||
month. Optional.
|
||||
|
||||
.TP
|
||||
.B REPOPTIONS
|
||||
General commandline options for isdnrep. The options noted here have
|
||||
the same effect as appended to each isdnrep commandline. Options are
|
||||
seperated by
|
||||
.B ;
|
||||
instead of the usual space.
|
||||
.br
|
||||
Example: "REPOPTIONS=-LP;-E"
|
||||
will turn off the provider summary and
|
||||
show failed calls. Optional.
|
||||
|
||||
.TP
|
||||
.B VBOXPATH
|
||||
Isdnrep can include information from the voice box system vbox in its
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
2004-07-24 Tobias Becker <tobiasb@isdn4linux.de>
|
||||
|
||||
* isdnconf.c (Set_Globals): Store `REPOTIONS' config file entry to
|
||||
global variable isdnrep_defopts.
|
||||
* tools.h: Added definitions for `REPOTIONS' and isdnrep_defopts.
|
||||
|
||||
* ChangeLog: Started this file.
|
|
@ -20,6 +20,9 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.35 2004/02/06 16:58:01 tobiasb
|
||||
* Fixed outdated source code comment.
|
||||
*
|
||||
* Revision 1.34 2002/07/04 10:29:18 paul
|
||||
* "DEM" -> "EUR"
|
||||
*
|
||||
|
@ -1124,6 +1127,7 @@ static int _readconfig(char *_myname)
|
|||
vboxcommand2 = NULL;
|
||||
mgettypath = NULL;
|
||||
mgettycommand = NULL;
|
||||
isdnrep_defopts = NULL;
|
||||
|
||||
|
||||
ClearEnv(&Environment);
|
||||
|
@ -1328,6 +1332,9 @@ static int Set_Globals(section *SPtr)
|
|||
if ((CEPtr = Get_Entry(Ptr->entries,CONF_ENT_MGTYCMD)) != NULL)
|
||||
mgettycommand = CEPtr->value;
|
||||
|
||||
if ((CEPtr = Get_Entry(Ptr->entries,CONF_ENT_REPOPTS)) != NULL)
|
||||
isdnrep_defopts = CEPtr->value;
|
||||
|
||||
CEPtr = Ptr->entries;
|
||||
cnt = 0;
|
||||
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.60 2004/01/28 14:27:47 tobiasb
|
||||
* Second step in restricting fds at isdnlog restart and script starting.
|
||||
* The fd limit is now taken from getrlimit() instead of NR_OPEN.
|
||||
* Close_Fds(first) which tries to close all possible fds is generally
|
||||
* built in but the execution must be requested with "closefds=yes" in
|
||||
* the parameterfile otherwise the isdnlog behaviour remains unchanged.
|
||||
*
|
||||
* Revision 1.59 2003/08/26 19:46:13 tobiasb
|
||||
* isdnlog-4.66:
|
||||
* - Added support for AVM B1 (with layer 2 d-channel trace) in point-to-
|
||||
|
@ -911,6 +918,7 @@
|
|||
#define CONF_ENT_TIME "TIME"
|
||||
|
||||
#define CONF_ENT_REPFMT "REPFMT"
|
||||
#define CONF_ENT_REPOPTS "REPOPTIONS"
|
||||
|
||||
#define CONF_ENT_CALLFILE "CALLFILE"
|
||||
#define CONF_ENT_CALLFMT "CALLFMT"
|
||||
|
@ -1203,6 +1211,7 @@ _EXTERN char *vboxcommand1 = NULL;
|
|||
_EXTERN char *vboxcommand2 = NULL;
|
||||
_EXTERN char *mgettypath = NULL;
|
||||
_EXTERN char *mgettycommand = NULL;
|
||||
_EXTERN char *isdnrep_defopts = NULL;
|
||||
|
||||
#else
|
||||
#define _EXTERN extern
|
||||
|
@ -1228,6 +1237,7 @@ _EXTERN char *vboxcommand1;
|
|||
_EXTERN char *vboxcommand2;
|
||||
_EXTERN char *mgettypath;
|
||||
_EXTERN char *mgettycommand;
|
||||
_EXTERN char *isdnrep_defopts;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue