[asterisk-commits] jpeeler: branch 1.6.1 r156650 - in /branches/1.6.1: ./ main/pbx.c

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


Author: jpeeler
Date: Thu Nov 13 13:18:34 2008
New Revision: 156650

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


........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/main/pbx.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/main/pbx.c?view=diff&rev=156650&r1=156649&r2=156650
==============================================================================
--- branches/1.6.1/main/pbx.c (original)
+++ branches/1.6.1/main/pbx.c Thu Nov 13 13:18:34 2008
@@ -2056,9 +2056,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