Commit Graph

465 Commits

Author SHA1 Message Date
Karsten Keil 5e14de863d Version 2.0.7
- Fix autotool files

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-31 08:51:42 +01:00
Karsten Keil 06643adeec Fix unused but set variable warning
Newer gcc versions have this new warning, so build would fail
with -Werror because the variable is not used when MISDND_CAPI_MODULE_DEBUG
was not defined.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-31 08:51:35 +01:00
Karsten Keil cc065f59db Fix unused but set variable warning
Newer gcc versions have this new warning, so build would fail
with -Werror because the variable is not used when MISDND_CAPI_MODULE_DEBUG
was not defined.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-31 08:37:39 +01:00
Karsten Keil 8992b91e7f Merge branch 'capi' into socket 2012-01-30 19:31:18 +01:00
Karsten Keil e3b5b92478 Make mISDN capi module debug optional
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:31:04 +01:00
Karsten Keil 860180cd5d Make mISDN capi module debug optional
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:28:28 +01:00
Karsten Keil 4506e66db0 mISDNcapid version 0.9
- Fixed all issues found by valgrind
- Fixed all memory leaks
- Add signal handler for clean shutdown (SIGTERM, SIGHUP, SIGINT)

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:05:17 +01:00
Karsten Keil cc27afc5e4 More helper for debuging memory leaks
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:05:08 +01:00
Karsten Keil c98ff662d6 Fix memory leaks
Free all used memory

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:04:52 +01:00
Karsten Keil 44a96ebec8 shor --> short Signed-off-by: Karsten Keil <kkeil@linux-pingi.de> 2012-01-30 19:02:08 +01:00
Karsten Keil a5d4017f7e Free devinfo if releasing layer 3
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2012-01-30 19:01:48 +01:00
Karsten Keil fd246f6bbb Autotool changes
Version 2.0.6

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-12-10 08:50:04 +01:00
Karsten Keil 32af7ded3f Fix write without checking return value
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-12-09 16:42:28 +01:00
Karsten Keil cb15111c92 Fix more gcc warnings
Signed-off-by: Karsten Keil <kkeil@lakepri-test.linux-pingi.de>
2011-12-09 13:59:55 +01:00
Karsten Keil ab44464d37 Merge branch 'capi' of ssh://git.misdn.eu/mISDNuser-devel into capi 2011-12-09 13:55:34 +01:00
Karsten Keil 5bf62c68de Fixed unused return value
Newer gcc are more picky.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-12-09 13:53:46 +01:00
Karsten Keil 74e5ceb762 Implement pseudo tty mode
This is needed for pppdcapiplugin.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-12-09 13:04:51 +01:00
Karsten Keil 07ef547eb9 Install a udev rules file for mISDN
The timerdevice should be accessible for a special group, you
can select the group via --with-mISDN_group=<group name> during
configure, default is dialout.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-12-06 17:27:41 +01:00
Karsten Keil e1555b96bd Add some tests
- reduce unconditional debug output
2011-11-28 14:34:55 +01:00
Karsten Keil b71e632fd9 Many fixes 2011-11-27 23:03:46 +01:00
Karsten Keil 7e7bf5f0e3 Merge branch 'socket' into capi 2011-11-25 16:42:01 +01:00
Karsten Keil 4c02448833 CAPI20 fax support
- use spandsp
- allows send/receive fax in TIFF format or SFF format (CAPI default)

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-11-25 16:36:12 +01:00
Karsten Keil 2ca3c00f5a Sync with mISDN kernel version
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-11-25 15:20:58 +01:00
Karsten Keil 518db74dea Merge branch 'socket' of /net/pingi5/home/kkeil/git/mISDNuser into karsten 2011-11-24 13:46:47 +01:00
Karsten Keil 5f518b78c6 New tool for layer1 E1 testing
This tool allows some kind of TBR4 layer1 testing.
It does apply the pattern from the TBR4 tests in
annex B.4/B.5 with a HFC E1 card.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-11-24 13:38:51 +01:00
Karsten Keil 2ca8290b66 Add some E1 L1 tests to testcon
Allow testcon to influence E1 L1 states.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-11-24 13:33:51 +01:00
Karsten Keil 41d539f6a9 Sync with kernel version
- added some new control operations for E1 L1 testing

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-11-24 13:32:36 +01:00
Karsten Keil 7adb7b8017 Allow different B data handler
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-29 15:13:58 +02:00
Karsten Keil 29a8d4961e Some code style helper
I would prefer, if the source code for the mISDNuser project
follow the some common style.

This is the my prefered option but I also accept others - but maybe I will
reformat it.

It is nearly the same style the Linux kernel is using, with the exception
that I allow 132 characters per line (kernel has a strict 80 character limit).

To get your file reformatted with this style, simple run this file as script:
./CodeStyle <path to source file>

The script part was copied from the linux kernel sources.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-29 13:53:00 +02:00
Karsten Keil c597f456b5 CAPI 2.0 for voice
The CAPI 2.0 interface now allows voice calls and
fax with capifax (with spandsp).

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-28 12:58:42 +02:00
Karsten Keil 397da2650d Version 2.0.5
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-23 14:56:47 +02:00
Jan Engelhardt 467eb887f8 Fix return value in ParseAOCEChargingUnitInfo
rpmlint of build.opensuse.org stopped hard on an undefined behavior
situation (missing return value).
Not sure if the patch is right, it's based upon other functions with
XSEQUENCE_1 calls.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-23 14:44:21 +02:00
Karsten Keil 48cc089a9e Add listen statemachine
was missing in the last commit.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-21 11:02:10 +02:00
Karsten Keil 3cd9c81ee5 mISDN CAPI2.0 additional files
The deamon now can handle Speech calls.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-21 09:14:45 +02:00
Karsten Keil dfe6d7e8e9 Add HLC decode/encode
Add functions to decode/encod HLC IE.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-20 18:42:03 +02:00
Karsten Keil 6b7d36b3ce Fix debug to stderr in mbuffer inline functions
Remove the fprintf debug usage.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-20 18:40:50 +02:00
Karsten Keil e1916e0240 Add CAPI 2.0 support
Add first files for CAPI 2.0 support.
Not finished yet.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-20 18:34:37 +02:00
Karsten Keil 87d1ff0428 Add HLC decode/encode
Add functions to decode/encod HLC IE.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-20 16:42:05 +02:00
Karsten Keil 5ff423564b Fix debug to stderr in mbuffer inline functions
Remove the fprintf debug usage.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-20 16:41:02 +02:00
Karsten Keil a386555cc4 Fix wrong L2 release in NT mode
In NT mode we should not release TEI 127, if one TEI connection goes down.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-10-15 10:28:48 +02:00
Martin Bachem 2fb043cabc Revert "read/write xhfc registers using MISDN_CTRL_XHFC_CUSTOM_CMD"
This reverts commit 5d650e0bc4.
2011-10-13 10:29:06 +02:00
Martin Bachem 5d650e0bc4 read/write xhfc registers using MISDN_CTRL_XHFC_CUSTOM_CMD 2011-10-11 11:58:57 +02:00
Martin Bachem 72ea0ff23f set/unset hw-testloops using MISDN_CTRL_LOOP 2011-10-11 11:53:45 +02:00
Martin Bachem de30532d94 applies code formatting 2011-10-11 11:53:45 +02:00
Karsten Keil 1a1cf46efa Fix disconnect cause
Sometimes random values were sent.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:31:02 +02:00
Karsten Keil 17db3354b5 New debug interface for applications
Now applications can hookup their own debug functions.
Also special functions for memory allocation and thread
creations can be supplield.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:30:57 +02:00
Karsten Keil 644e28fa6b Make supplementary services finally work
Fix lot of bugs and implement a interface for applications

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:30:51 +02:00
Karsten Keil 26ee8f002d Update autogenerated files
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:30:45 +02:00
Karsten Keil cc22700354 Restructure directories
It seems better to have seperated directories for different
parts of the library and also put the suplementary service
stuff into the same library.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:30:40 +02:00
Karsten Keil 5d589399aa Add L3 timer 305 activation
timer 305 was not started in every needed case.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
2011-09-21 15:30:35 +02:00