dect
/
asterisk
Archived
13
0
Fork 0

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

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4627 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-01-01 20:17:11 +00:00
parent cb5b1bc31d
commit 7f97789a7b
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}