diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-30 19:48:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-30 19:48:06 +0000 |
commit | ea0a4b792e160ba7419988721613a6998f6f857b (patch) | |
tree | 517362e54e3574dfc80088cff09e429ecf6406a3 /channels | |
parent | edd6f477a17a6600d71e116fe69099b29a329b62 (diff) |
Merged revisions 152923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r152923 | tilghman | 2008-10-30 14:45:52 -0500 (Thu, 30 Oct 2008) | 13 lines
Merged revisions 152922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r152922 | tilghman | 2008-10-30 14:43:38 -0500 (Thu, 30 Oct 2008) | 6 lines
Unlock before returning, when extension doesn't exist.
(closes issue #13807)
Reported by: eliel
Patches:
chan_local.c.patch uploaded by eliel (license 64)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@152924 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_local.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 5318796da..d83be6da3 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -521,6 +521,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout) if (!ast_exists_extension(NULL, p->chan->context, p->chan->exten, 1, p->owner->cid.cid_num)) { ast_log(LOG_NOTICE, "No such extension/context %s@%s while calling Local channel\n", p->chan->exten, p->chan->context); + ast_mutex_unlock(&p->lock); return -1; } |