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:
4cea902
)
Make local channels use ast_channel_move() instead of the inlined version.
author
Richard Mudgett
<rmudgett@digium.com>
Wed, 5 Jun 2013 23:29:43 +0000
(23:29 +0000)
committer
Richard Mudgett
<rmudgett@digium.com>
Wed, 5 Jun 2013 23:29:43 +0000
(23:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390612
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/core_local.c
patch
|
blob
|
history
diff --git
a/main/core_local.c
b/main/core_local.c
index
2e0bcc4
..
5c7a34f
100644
(file)
--- a/
main/core_local.c
+++ b/
main/core_local.c
@@
-445,9
+445,8
@@
static int local_call(struct ast_channel *ast, const char *dest, int timeout)
case LOCAL_CALL_ACTION_MASQUERADE:
local_bridge_event(p);
ast_answer(chan);
- res = ast_channel_masquerade(p->action.masq, chan);
+ res = ast_channel_move(p->action.masq, chan);
if (!res) {
- ast_do_masquerade(p->action.masq);
/* Chan is now an orphaned zombie. Destroy it. */
ast_hangup(chan);
}