Commit Graph

216 Commits

Author SHA1 Message Date
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
Andreas Eversberg d9ca23070b improved misdn_info formatting
modified:   tools/info.c
2008-11-15 23:19:22 +01:00
Martin Bachem 8e3fa25c10 [mISDNuser] MPH_INFORMATION_REQ: added ph_info() structs
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-11-04 14:27:49 +01:00
Andreas Eversberg 1527876c84 Added channel map display to misdn_info.
modified:   tools/info.c
2008-11-04 11:02:57 +01:00
Andreas Eversberg acf577f853 Merge branch 'socket' of ssh://jolly@git.mISDN.org/var/git/mISDNuser into socket 2008-11-04 08:58:11 +01:00
Andreas Eversberg bb648019d9 Fixed bug in assembling extra information elements. (copy-paste-bug)
Lib now decodes and encodes extra information elements like second caller id or second capabilities and display informations.

	modified:   lib/q931.c
2008-11-04 08:57:58 +01:00
Martin Bachem facdfee747 [qmisdnwatch] added several features
- monitor D-channel state with colored bullets
   - ability to send ACTIVATE_REQs on demand
   - optional: connect socket to mISDN ports automatically on startup
   - optional: keep layer1 bus automativcally activated

Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-10-31 20:00:12 +01:00
Martin Bachem 59876b023e [qmisdnwatch] v0.0.2: improved hotplug compatibilty
now even mISDN_core can be loaded while qmisdnwatch already running

Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-10-29 12:50:19 +01:00
Martin Bachem 17cdef5a8a [qmisdnwatch] removed trailing '\r's
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-10-29 12:03:38 +01:00
Martin Bachem 9f442954dc qmisdnwatch - mISDN v2 GUI swissknife
http://www.misdn.org/index.php/Qmisdnwatch
needs Qt4, compiles via 'qmake && make'
2008-10-28 23:16:19 +01:00
Martin Bachem a66a3c83b0 [mISDNuser] differ between S0/UP0 devices
- added support for BRI UP0 devices
- 'beautified' console output to print infos like posted at http://www.misdn.org/index.php/MISDN_v2_Installation#test_mISDN_v2_installation

Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-10-09 13:50:18 +02:00
Andreas Eversberg fda57391b6 Merge branch 'socket' of ssh://jolly@git.mISDN.org/var/git/mISDNuser into socket 2008-09-16 19:16:43 +02:00
Andreas Eversberg 57b34e8204 Fixed testlayer3, so it will count card number from 0.
modified:   example/testlayer3.c
2008-09-16 19:16:31 +02:00
Martin Bachem 63b7e5a918 [mISDNuser] testlayer1/testlayer3 : zero-based-device-numbers
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-15 16:22:09 +02:00
Martin Bachem 7aef9b8588 Revert "[mISDNuser] testcon.c : cardnr opt '-cX' starting with default 1"
This reverts commit edba47317b.
2008-09-15 16:17:21 +02:00
Martin Bachem 170d3dbd50 Revert "[mISDNuser] loghex.c : cardnr opt '-cX' starting with default 1"
This reverts commit 9df5e13197.
2008-09-15 16:16:51 +02:00
Matthias Urlichs 81a8400e34 cleanl2.c: start numbering at zero 2008-09-15 10:58:05 +02:00
Andreas Eversberg 1f3b3c4286 Corrected some output text of bridge.c.
Fixed some layer2-link notifications.

	modified:   bridge/bridge.c
	modified:   lib/layer3.c
2008-09-14 14:39:18 +02:00
Andreas Eversberg 7c532c75f3 Fixed l1oipctrl. It is tested and works.
Fixed port number in isdnbridge.

	modified:   Makefile
	modified:   bridge/bridge.c
	modified:   include/mISDNif.h
	modified:   l1oip/l1oipctrl.c
	modified:   tools/info.c
2008-09-14 12:31:43 +02:00
Martin Bachem e45757122e [mISDNuser] using PH_DATA_IND to trigger next tx packet
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-08 21:51:59 +02:00
Martin Bachem 2fc88f6c03 Merge branch 'socket' of ssh://mbachem@git.misdn.org/var/git/mISDNuser into socket 2008-09-08 16:02:32 +02:00
Martin Bachem 6cc8aee56f [mISDNuser] added ISDN_P_TE_UP0 / ISDN_P_NT_UP0
- new layer1 protocols for UP0 bus
- helper #defines to test for TE/NT/S0/E1/UP0 atomically

Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-08 16:01:48 +02:00
Andreas Eversberg 0ca7a19a7b Merge branch 'socket' of ssh://jolly@git.mISDN.org/var/git/mISDNuser into socket 2008-09-07 10:19:38 +02:00
Andreas Eversberg fe55f307ba removed a warning
modified:   layer3/dss1net.c
2008-09-07 10:19:30 +02:00
Martin Bachem f868d53747 [mISDNuser] loghex.c : skip PH_DATA_REQ if PH_DATA_E_IND are expected
D-Channel tx messages are skipped while writing wireshark readable
EYEsdn trace file if layer1 instance accept connection on addr 1,
which means E-Channel messages are expected.
Console hex output remains complete.

Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-04 12:37:39 +02:00
Martin Bachem edba47317b [mISDNuser] testcon.c : cardnr opt '-cX' starting with default 1
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-03 19:55:05 +02:00
Martin Bachem 9df5e13197 [mISDNuser] loghex.c : cardnr opt '-cX' starting with default 1
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-03 19:46:38 +02:00
Martin Bachem 567badcf37 [mISDNuser] loghex.c : fixed cosmetic trailing whitespaces
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-03 19:41:09 +02:00
Martin Bachem eb0d437743 [mISDNuser] misdn_log bugfix: endless loop when ch 0 and 1 failed
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
2008-09-03 18:12:42 +02:00
Martin Bachem 7fd282caec - added PH_DATA_E_IND
- loghex (misdn_log) tries to bind on channel nr 1 and falls back to 0 on error
2008-09-03 15:23:58 +02:00
Karsten Keil 71f7025a96 use EXTRA_CFLAGS 2008-09-01 16:13:48 +02:00