diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-13 19:17:50 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-13 19:17:50 +0000 |
commit | 62c00648f039915dd241f17cd91fbb111ff14bf7 (patch) | |
tree | c1aacb1908b7221df82894401754c761ea0cd448 | |
parent | c35b7f560f750f6e98176a0ba843b7069795185d (diff) |
(closes issue #13891)
Reported by: smurfix
This reverts a change I made in 116297. At the time it seemed the change was required to solve an issue with attempting a transfer but then letting it timeout without dialing any digits. However, I didn't realize that having an empty extension was possible. I'm removing the immediate return that was added in pbx_find_extension if the extension is null.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156649 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/main/pbx.c b/main/pbx.c index b24cd2eae..7c308121d 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2437,9 +2437,6 @@ struct ast_exten *pbx_find_extension(struct ast_channel *chan, ast_log(LOG_NOTICE,"Looking for cont/ext/prio/label/action = %s/%s/%d/%s/%d\n", context, exten, priority, label, (int)action); #endif - if (ast_strlen_zero(exten)) - return NULL; - /* Initialize status if appropriate */ if (q->stacklen == 0) { q->status = STATUS_NO_CONTEXT; |