projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e4efd
)
Add missing lock to local_indicate function for connected line frames.
author
Mark Michelson
<mmichelson@digium.com>
Thu, 28 May 2009 18:48:56 +0000
(18:48 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Thu, 28 May 2009 18:48:56 +0000
(18:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197701
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_local.c
patch
|
blob
|
history
diff --git
a/channels/chan_local.c
b/channels/chan_local.c
index
7e7ef3c
..
6f91093
100644
(file)
--- a/
channels/chan_local.c
+++ b/
channels/chan_local.c
@@
-416,6
+416,7
@@
static int local_indicate(struct ast_channel *ast, int condition, const void *da
* we need to transmit the collected connected line information instead of whatever
* happens to be in this control frame. The same applies for redirecting information, which
* is why it is handled here as well.*/
+ ast_mutex_lock(&p->lock);
isoutbound = IS_OUTBOUND(ast, p);
if (isoutbound) {
this_channel = p->chan;