Commit Graph

446 Commits

Author SHA1 Message Date
Karsten Keil f89c910176 Add DEADJOE to .gitignore
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-14 17:38:28 +02:00
Thomas Jarosch f3b93c0e1f Fix uninitialized return code
Not a real problem as the return code
of the function is never checked :o)

Detected by "cppcheck".

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-01 14:49:58 +02:00
Matthias Urlichs a38412ccde Typo 2011-06-01 08:01:14 +02:00
Karsten Keil 24fa48710d Update autotool generated files
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 19:09:55 +02:00
Jan Engelhardt 9e2c94bf3a build: fix configure failure when g++ not installed
When no C++ compiler is installed, configure should not fail, but
merely skip the GUI parts. Since the first compiler check is
authoritative, move AC_PROG_CXX down.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:57:09 +02:00
Jan Engelhardt e5bbd3b00b build: resolve automake warnings
To be able to override the creation process of an executable,
declaring it as a script instead seems to work.

guitools/qmisdnwatch/Makefile.am:17: deprecated feature: target `qmisdnwatch' overrides `qmisdnwatch$(EXEEXT)'
guitools/qmisdnwatch/Makefile.am:17: change your target to read `qmisdnwatch$(EXEEXT)'
/usr/share/automake-1.11/am/program.am: target `qmisdnwatch$(EXEEXT)' was defined here
guitools/qmisdnwatch/Makefile.am:1:   while processing program `qmisdnwatch'
guitools/qmisdnwatch/Makefile.am:17: user target `qmisdnwatch$(EXEEXT)' defined here...
/usr/share/automake-1.11/am/program.am: ... overrides Automake target `qmisdnwatch' defined here
guitools/qmisdnwatch/Makefile.am:1:   while processing program `qmisdnwatch'

The nodist_ line becomes redundant automatically.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:57:07 +02:00
Jan Engelhardt 5cb432cfb1 build: use proper automake initialization
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:57:06 +02:00
Jan Engelhardt 3cbafc4816 gitignore: split according to own comment
The top-level .gitignore recommends to split the filelist, but did not
do so. Follow up on it.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:57:03 +02:00
Jan Engelhardt f104b06615 gitignore: autotools' files
- remove overzealous ".*" (blocks easy addition of .gitignore)
  and replace by actual autotools objects: .deps and .libs
- add *.la and *.lo from autotools

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:57:01 +02:00
Jan Engelhardt 7174bc78c8 build: resolve autotools suggestions
$ autoreconf -fi
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:56:59 +02:00
Jan Engelhardt 7f8c030b47 build: resolve autoconf-2.68 warnings
configure.ac:75: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
acinclude.m4:1: MISDN_CHECK_AF_ISDN is expanded from...

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-04-26 18:56:46 +02:00
Karsten Keil f95125d6a8 Merge branch 'socket' of ssh://git.misdn.org/var/git/mISDNuser into socket 2011-04-26 18:16:00 +02:00
Karsten Keil 38a1741c76 Add textual description of frame types
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-03-21 12:27:49 +01:00
Karsten Keil 5a53eb2bc5 Add textual description of frame types
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2011-03-20 19:39:08 +01:00
Matthias Urlichs 1785dc1f7a info: don't complain about missing device numbers 2011-01-04 21:46:12 +01:00
Matthias Urlichs 07a9fa9f74 Make the code compile with gcc 4.4 without warnings 2011-01-04 21:45:36 +01:00
Karsten Keil 6abea77c9f Add config.guess
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-03-12 14:51:38 +01:00
Karsten Keil b772e32798 Add config.sub
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-03-12 14:49:14 +01:00
Karsten Keil 8d01cd531d Version 2.0.2
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-17 18:48:02 +01:00
Karsten Keil 449135e23f New compatibility handling
On older kernel versions or glibc header code AF_ISDN do not exist and maybe
we need to use a different address famely number.
Now autoconf check this and you can supply a default number for AF_ISDN.

Applications can allow other numbers as parameter as well, see examples/testlayer3.c
how to do that.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-17 18:35:11 +01:00
Karsten Keil b74347dbb7 Add sample spec file for RPM builds
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-15 19:22:52 +01:00
Karsten Keil 1395abdf1f Avoid standard dependency on libQt
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-15 18:45:10 +01:00
Karsten Keil f53ea7e1b4 Version 2.0.1
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-15 14:04:22 +01:00
Karsten Keil 1618f70ef4 Update autofiles
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-15 13:51:08 +01:00
Karsten Keil 4fd70cb744 Add suplementary services to autotools
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2010-02-15 13:42:43 +01:00
Karsten Keil da59ab78d6 Rename example programs to misdn*
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-15 12:16:54 +01:00
Karsten Keil 91ff3bd05c Make distcheck happy
Enhance autotool files to pass make distcheck and allow VPATH builds

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-14 19:54:50 +01:00
Karsten Keil a4ca867fe5 Add automake support for GUI Tools
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-14 18:41:18 +01:00
Karsten Keil 5ec6fc99a2 More autotool changes
- remove debugtool and doc

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-11 21:02:13 +01:00
Karsten Keil d20499cf69 Changes for autotools
- includes now in a mISDN subdir
- add miising files to recreate without having autoconf and automake installed

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-11 17:13:38 +01:00
Karsten Keil 2eeeed5ca5 Use GNU autotools
First steps to use automake, autoconf and libtool

Signed-off-by: Karsten Keil <keil@b1-systems.de>
2010-02-11 17:01:00 +01:00
Andreas Eversberg c3d4c7174e Added notify message from terminal to NT stack.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2009-12-28 22:33:46 +01:00
Andreas Eversberg 75c165af5a Added echo channel option to misdn_log.
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2009-12-25 14:11:13 +01:00
Andreas Eversberg 8c63491a25 Fixes usage of dummy callref.
Thanx to Max fo this patch.
2009-12-20 18:53:08 +01:00
Andreas Eversberg 6d3191cb7b Commented out DL RELEASE timer, because it does not function right.
Calls will be disconnected due to unnecessarily running timer.

Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2009-09-19 21:10:51 +02:00
Karsten Keil 6e6ccf24b8 Add .gitignore
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2009-06-20 18:52:13 +02:00
Karsten Keil b89ef72587 display B-protocols in misdn_info
Signed-off-by: Karsten Keil <kkeil@pingi5.linux-pingi.de>
2009-06-20 18:46:02 +02:00
Karsten Keil deb6af3a4c sync with kernel version
Signed-off-by: Karsten Keil <keil@b1-systems.de>
2009-06-20 18:17:58 +02:00
Andreas Eversberg ff166d736a Added some debug code to DL_* 2009-05-11 14:19:26 +02:00
Andreas Eversberg 2096b51a54 Added DL_ESTABLIS_IND in state 10. (NT and TE)
Flapping interfaces cause LD_ESTABLIS_IND instead of DL_ESTABLISH_CNF.
This caused the reestablish timer not to stop after DL_ESTABLISH_IND.
It is fixed and tested.
2009-05-11 14:18:37 +02:00
Andreas Eversberg 54928dec57 Adding handling of unexpected messages in NT-mode, if no process exists.
Sometimes the call is released before a telephone responds.
This can happen, on long l1 activation phase, or if caller hangs up before a
telehone answers, or if one telephone connects before other phones responds.
In this case, the phone gets released with cause 81 (Invalid Callref).

This conforms to ETSI!
2009-03-28 17:40:40 +01:00
Andreas Eversberg f5717ce6f8 Added missing states after MT_REGISTER special state 31.
-> MT_RELEASE REQUEST now enters state 19 on both stacks.
-> MT_RELEASE and MT_RELEASE_COMP. is allowed in state 31 from all directions.
2009-03-28 10:34:13 +01:00
Andreas Eversberg 6ef32b59eb Added layer-1-hold feature. Will work with older mISDN, but l1hold will not
function in this case. Also upgrade mISDN for l1hold feature.
2009-03-20 20:48:08 +01:00
Andreas Eversberg 23d39bcc82 Bugfix: MT_NOTIFY REQUEST in all states, ALL_STATES corrected to state 0..31
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
2009-03-20 18:38:41 +01:00
Andreas Eversberg 87ad2e4541 Added missing MT_FACILITY at state 31 (after MT_REGISTER) to master state machine.
NT-mode incomming NT_FACILITY was not handled in master state.

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
2009-03-18 18:16:15 +01:00
Andreas Eversberg 7d96740a1b Fixed cause value on l3dss1_disconnect_req_out().
Thanx to Max for the bug report.

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
2009-03-18 18:10:59 +01:00
Andreas Eversberg 7379442cce Added MT_REGISTER for NETWORK->USER direction in both NT and TE mode.
This only works in PTP configuration for the NT stack, because multiplexing makes no sense here.

@Max: Please check if it works and tell me any problem.

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
2009-03-07 20:14:01 +01:00
Andreas Eversberg 13849ece29 dss1user allows IE_NOTIFY in ALERTING and PROCEEDING message.
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
2009-02-17 08:06:44 +01:00
Andreas Eversberg 154970681d Added MT_REGISTER transaction to NT- and TE-Mode.
- MT_REGISTER may be sent from user to network using a call reference.
- A special state 31 (ITU conform) is used.
- The transaction allows MT_FACILITY messages, and is released via MT_RELEASE_COMPLETE message as usually done via MT_RELEASE message.

	modified:   include/q931.h
	modified:   lib/dss1net.c
	modified:   lib/dss1user.c
	modified:   lib/layer3.c
2008-11-16 14:30:11 +01:00
Andreas Eversberg d27336ba89 Merge branch 'socket' of ssh://jolly@git.mISDN.org/var/git/mISDNuser into socket 2008-11-15 23:19:34 +01:00