CAPI 2.0 spec defines the CIP value indicated by CONNECT_IND
als highest matched bit position, not the higest CIP value
calculated from bearer + HLC info.
This bug caused that if a application did not request listening
for some of the higher bit values a not requested CIP was sent, so the
call was ignored.
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Implement a method to disable temporary messages from applications to
synchronize the delivery of a incoming call. It is important, that
all listening application get informed before the first answer was handled.
Signed-off-by: Karsten Keil <keil@b1-systems.de>
if a call was not taken by an application and multiple applications
are listening, it could happen that the PLCI was deleted before we
did sent the CONNECT_IND to all applications.
Signed-off-by: Karsten Keil <keil@b1-systems.de>
- Add a timeout in the B-channel handler to catch a broken
downlinks on release
- Do not join the own thread
- pthread functions return error directly, not via errno
- better debug messages
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Not only the bit of the cip value has to be set, also
the more generic bearer service bit (not depending on HLC)
need to be set.
Without the fix valid calls got ignored.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
text_wireshark.c: In function 'main':
text_wireshark.c:181: error: 'infilename' may be used uninitialized in this function
text_wireshark.c:182: error: 'outfilename' may be used uninitialized in this function
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Many users difd report problems to compile this package because
they had installed different versions of the autotools.
From now it is not longer possible to compile this package without
having autotools installed.
You can generate the the autotool files simply with running 'make'.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
This tool is not really related to mISDN, but could be useful
for development. It takes plaintext hexdump D-channel traces as input
and writes a EyeSDN wireshark trace.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
If a valid PROGRESS message was sent form the network after ALERTING
wie did sent a wrong STATUS about receiving a invalid message in this state.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
If a CAPI message was bigger as it was indicated, the buffer
length was not set at all. Now use the indicated length.
Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>