mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
Merged revisions 156649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r156649 | jpeeler | 2008-11-13 13:17:50 -0600 (Thu, 13 Nov 2008) | 6 lines (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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2056,9 +2056,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;
|
||||
|
||||
Reference in New Issue
Block a user