projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ef0eddb
)
Fixed audio bridge to mISDN ports
author
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 19 Jan 2012 08:44:48 +0000
(09:44 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 19 Jan 2012 08:44:48 +0000
(09:44 +0100)
Audio must be bridged, even if the call is not connected, but if
audio data is already available.
mISDN.cpp
patch
|
blob
|
history
diff --git
a/mISDN.cpp
b/mISDN.cpp
index
6392a4c
..
ab08822
100644
(file)
--- a/
mISDN.cpp
+++ b/
mISDN.cpp
@@
-1447,6
+1447,9
@@
void PmISDN::bchannel_receive(struct mISDNhead *hh, unsigned char *data, int len
if (p_m_inband_receive_on)
inband_receive(data, len);
+ /* send to remote, if bridged */
+ bridge_tx(data, len);
+
/* calls will not process any audio data unless
* the call is connected OR tones feature is enabled.
*/
@@
-1484,9
+1487,6
@@
void PmISDN::bchannel_receive(struct mISDNhead *hh, unsigned char *data, int len
cryptman_listen_bch(data, len);
}
-
- /* send to remote, if bridged */
- bridge_tx(data, len);
}