summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg2011-08-11 15:23:01 +0200
committerAndreas Eversberg2011-08-11 15:23:01 +0200
commit5df02da464adcac01848f5ab465d02a7574af663 (patch)
treece706c35074d12cd48dad687d0a172dd64b94168
parentMinor cosmetic fix of logging output (diff)
downloadlcr-5df02da464adcac01848f5ab465d02a7574af663.tar.gz
lcr-5df02da464adcac01848f5ab465d02a7574af663.tar.xz
lcr-5df02da464adcac01848f5ab465d02a7574af663.zip
Fixed wrong reference when requesting a channel from chan_lcr.
This caused audio not to be available, for every call or after some time.
-rw-r--r--mISDN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mISDN.cpp b/mISDN.cpp
index 50746ec..46cf1a5 100644
--- a/mISDN.cpp
+++ b/mISDN.cpp
@@ -1113,7 +1113,7 @@ void message_bchannel_from_remote(class JoinRemote *joinremote, int type, unsign
chan_trace_header(mISDNport, isdnport, "MESSAGE_BCHANNEL (from remote application)", DIRECTION_NONE);
add_trace("type", NULL, "export request");
end_trace();
- isdnport->p_m_remote_ref = joinremote->j_serial;
+ isdnport->p_m_remote_ref = joinremote->j_remote_ref;
isdnport->p_m_remote_id = joinremote->j_remote_id;
if (mISDNport && i>=0) {
bchannel_event(mISDNport, i, B_EVENT_EXPORTREQUEST);