From d1fbf03fdfd4238db24a3e8ba7f799edee19863a Mon Sep 17 00:00:00 2001 From: David Vossel Date: Mon, 23 May 2011 14:46:17 +0000 Subject: [PATCH] Fixes chanspy enforced mode lacking a channel_unlock. (closes issue #19348) Reported by: wdoekes Patches: issue19348_chanspy_missing_channel_unlock.patch uploaded by wdoekes (license 717) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@320506 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_chanspy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 89338aec05..97d86b7061 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -938,6 +938,7 @@ static int common_exec(struct ast_channel *chan, struct ast_flags *flags, } if (!ienf) { + ast_channel_unlock(peer); continue; }