diff options
author | David M. Lee <dlee@digium.com> | 2013-03-08 16:25:58 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-03-08 16:25:58 +0000 |
commit | c0e2ed1fe9f61f5b6d6c7de06c388e8d5a11563f (patch) | |
tree | 8cfcfef7027619c498a7459e1f4dce11bcced7c9 /main/channel.c | |
parent | c6b06e40dc859125cf76bec4632bd76de42256bd (diff) |
Ensure dummy channels get a stasis topic.
Fixes test failure introduced in r382685.
(issue ASTERISK-20887)
(issue ASTERISK-20959)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index df0a67b3b..3289edaa4 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1283,6 +1283,8 @@ struct ast_channel *ast_dummy_channel_alloc(void) ast_channel_epfd_set(tmp, -1); #endif + ast_channel_internal_setup_topics(tmp); + headp = ast_channel_varshead(tmp); AST_LIST_HEAD_INIT_NOLOCK(headp); |