projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: chan_lcr will suppress audio traffic until ref is received
[lcr.git]
/
chan_lcr.c
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
302716e
..
332cc7f
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-2750,7
+2750,7
@@
static int lcr_write(struct ast_channel *ast, struct ast_frame *fr)
#else
call = ast_channel_tech_pvt(ast);
#endif
- if (!call) {
+ if (!call
|| !call->ref
) {
ast_mutex_unlock(&chan_lock);
if (f != fr) {
ast_frfree(f);