modilp, ilp - B-chan usage in /proc/isdnlog

s. isdnlog/ilp/README for more information
This commit is contained in:
leo 2000-12-15 14:36:04 +00:00
parent a2bd6c1b8a
commit 3c2c67567f
3 changed files with 30 additions and 6 deletions

View File

@ -1,4 +1,4 @@
## $Id: Makefile.in,v 1.187 2000/12/12 21:07:32 akool Exp $ ## $Id: Makefile.in,v 1.188 2000/12/15 14:36:04 leo Exp $
## ##
## ISDN accounting for isdn4linux. ## ISDN accounting for isdn4linux.
## ##
@ -19,6 +19,10 @@
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
## ##
## $Log: Makefile.in,v $ ## $Log: Makefile.in,v $
## Revision 1.188 2000/12/15 14:36:04 leo
## modilp, ilp - B-chan usage in /proc/isdnlog
## s. isdnlog/ilp/README for more information
##
## Revision 1.187 2000/12/12 21:07:32 akool ## Revision 1.187 2000/12/12 21:07:32 akool
## isdnlog-4.46 ## isdnlog-4.46
## 010050: Drillisch AG -> ElisaNet GmbH ## 010050: Drillisch AG -> ElisaNet GmbH
@ -1416,7 +1420,7 @@ SERVICEFILE = /etc/services
# DON'T EDIT BELOW THIS LINE # DON'T EDIT BELOW THIS LINE
###################################################################### ######################################################################
VERSION = 4.46 VERSION = 4.47
MANPAGES = isdnlog/callerid.conf.5 isdnlog/isdn.conf.5 \ MANPAGES = isdnlog/callerid.conf.5 isdnlog/isdn.conf.5 \
isdnlog/isdnformat.5 isdnlog/isdnlog.5 isdnlog/isdnlog.8 \ isdnlog/isdnformat.5 isdnlog/isdnlog.5 isdnlog/isdnlog.8 \
@ -1512,6 +1516,10 @@ ifdef TESTCENTER
ISDNLOG_OBJS += isdnlog/test_center.o ISDNLOG_OBJS += isdnlog/test_center.o
endif endif
ifdef ILP
ISDNLOG_OBJS += isdnlog/ilp/ilp.o
endif
ISDNREP_OBJS = isdnrep/rep_main.o tools/tools.o tools/isdnconf.o \ ISDNREP_OBJS = isdnrep/rep_main.o tools/tools.o tools/isdnconf.o \
isdnlog/messages.o isdnrep/isdnrep.o \ isdnlog/messages.o isdnrep/isdnrep.o \
tools/rate.o tools/zone.o tools/holiday.o tools/dest.o \ tools/rate.o tools/zone.o tools/holiday.o tools/dest.o \

View File

@ -1,4 +1,4 @@
/* $Id: functions.c,v 1.30 2000/06/20 17:09:59 akool Exp $ /* $Id: functions.c,v 1.31 2000/12/15 14:36:05 leo Exp $
* *
* ISDN accounting for isdn4linux. (log-module) * ISDN accounting for isdn4linux. (log-module)
* *
@ -19,6 +19,10 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* *
* $Log: functions.c,v $ * $Log: functions.c,v $
* Revision 1.31 2000/12/15 14:36:05 leo
* modilp, ilp - B-chan usage in /proc/isdnlog
* s. isdnlog/ilp/README for more information
*
* Revision 1.30 2000/06/20 17:09:59 akool * Revision 1.30 2000/06/20 17:09:59 akool
* isdnlog-4.29 * isdnlog-4.29
* - better ASN.1 display * - better ASN.1 display
@ -270,6 +274,7 @@ static void saveCharge()
} /* saveCharge */ } /* saveCharge */
/*****************************************************************************/ /*****************************************************************************/
extern void procinfo(int channel, CALL * cp, int state);
void _Exit_isdnlog(char *File, int Line, int RetCode) /* WARNING: RetCode==-9 does _not_ call exit()! */ void _Exit_isdnlog(char *File, int Line, int RetCode) /* WARNING: RetCode==-9 does _not_ call exit()! */
{ {
@ -290,7 +295,8 @@ void _Exit_isdnlog(char *File, int Line, int RetCode) /* WARNING: RetCode==-9 do
if (xinfo && sockets[IN_PORT].descriptor != -2) if (xinfo && sockets[IN_PORT].descriptor != -2)
close(sockets[IN_PORT].descriptor); close(sockets[IN_PORT].descriptor);
} /* if */ } /* if */
procinfo(1, NULL, -1); /* close proc */
closelog(); closelog();
if (fout) if (fout)

View File

@ -1,4 +1,4 @@
/* $Id: processor.c,v 1.118 2000/12/13 14:43:16 paul Exp $ /* $Id: processor.c,v 1.119 2000/12/15 14:36:05 leo Exp $
* *
* ISDN accounting for isdn4linux. (log-module) * ISDN accounting for isdn4linux. (log-module)
* *
@ -19,6 +19,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* $Log: processor.c,v $ * $Log: processor.c,v $
* Revision 1.119 2000/12/15 14:36:05 leo
* modilp, ilp - B-chan usage in /proc/isdnlog
* s. isdnlog/ilp/README for more information
*
* Revision 1.118 2000/12/13 14:43:16 paul * Revision 1.118 2000/12/13 14:43:16 paul
* Translated progress messages; * Translated progress messages;
* german language version still available with #define LANG_DE * german language version still available with #define LANG_DE
@ -4275,6 +4279,7 @@ static void LCR(int chan, char *s)
} /* LCR */ } /* LCR */
#endif #endif
extern void procinfo(int channel, CALL * cp, int state);
static void processctrl(int card, char *s) static void processctrl(int card, char *s)
{ {
@ -4890,7 +4895,9 @@ static void processctrl(int card, char *s)
if (sound) if (sound)
ringer(chan, RING_CONNECT); ringer(chan, RING_CONNECT);
procinfo(call[chan].channel, &call[chan], CONNECT);
doppelt:break; doppelt:break;
case SUSPEND_ACKNOWLEDGE : case SUSPEND_ACKNOWLEDGE :
@ -5208,6 +5215,9 @@ doppelt:break;
if (sound) if (sound)
ringer(chan, RING_HANGUP); ringer(chan, RING_HANGUP);
procinfo(call[chan].channel, &call[chan], RELEASE);
} /* if */ } /* if */
clearchan(chan, 1); clearchan(chan, 1);