projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed multiplexing bug at NT-mode.
[lcr.git]
/
mISDN.cpp
diff --git
a/mISDN.cpp
b/mISDN.cpp
index
bdc1780
..
0abffd6
100644
(file)
--- a/
mISDN.cpp
+++ b/
mISDN.cpp
@@
-1173,15
+1173,14
@@
seize:
*/
void PmISDN::drop_bchannel(void)
{
*/
void PmISDN::drop_bchannel(void)
{
- if (p_m_b_index < 0)
- return;
-
/* unreserve channel */
if (p_m_b_reserve)
p_m_mISDNport->b_reserved--;
p_m_b_reserve = 0;
/* if not in use */
/* unreserve channel */
if (p_m_b_reserve)
p_m_mISDNport->b_reserved--;
p_m_b_reserve = 0;
/* if not in use */
+ if (p_m_b_index < 0)
+ return;
if (!p_m_b_channel)
return;
if (!p_m_b_channel)
return;
@@
-1416,6
+1415,7
@@
int PmISDN::handler(void)
/* next loop */
p_m_crypt_msg_current = 0;
p_m_crypt_msg_loops--;
/* next loop */
p_m_crypt_msg_current = 0;
p_m_crypt_msg_loops--;
+// puts("eine loop weniger");
}
/* new length */
}
/* new length */
@@
-1915,7
+1915,7
@@
void PmISDN::message_crypt(unsigned long epoint_id, int message_id, union parame
break;
}
p_m_crypt_msg_current = 0; /* reset */
break;
}
p_m_crypt_msg_current = 0; /* reset */
- p_m_crypt_msg_loops =
3
; /* enable */
+ p_m_crypt_msg_loops =
6
; /* enable */
#if 0
/* disable txmix, or we get corrupt data due to audio process */
if (p_m_txmix && p_m_b_index>=0)
#if 0
/* disable txmix, or we get corrupt data due to audio process */
if (p_m_txmix && p_m_b_index>=0)