[asterisk-commits] jpeeler: trunk r156649 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 13 13:17:50 CST 2008


Author: jpeeler
Date: Thu Nov 13 13:17:50 2008
New Revision: 156649

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156649
Log:
(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.


Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=156649&r1=156648&r2=156649
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Thu Nov 13 13:17:50 2008
@@ -2437,9 +2437,6 @@
 	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;




More information about the asterisk-commits mailing list