Skip to content
Snippets Groups Projects
Commit c7306dce authored by Mark Spencer's avatar Mark Spencer
Browse files

Make sure to wake up sleeper on sip transfer issue (bug #2938)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 08f3c195
Branches
Tags
No related merge requests found
......@@ -2435,8 +2435,10 @@ int ast_do_masquerade(struct ast_channel *original)
ast_channel_free(clone);
manager_event(EVENT_FLAG_CALL, "Hangup", "Channel: %s\r\n", zombn);
} else {
struct ast_frame null_frame = { AST_FRAME_NULL, };
ast_log(LOG_DEBUG, "Released clone lock on '%s'\n", clone->name);
ast_set_flag(clone, AST_FLAG_ZOMBIE);
ast_queue_frame(clone, &null_frame);
ast_mutex_unlock(&clone->lock);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment