[asterisk-commits] qwell: trunk r83251 - in /trunk: ./ apps/app_disa.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 20 12:10:15 CDT 2007


Author: qwell
Date: Thu Sep 20 12:10:14 2007
New Revision: 83251

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83251
Log:
Merged revisions 83246 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83246 | qwell | 2007-09-20 12:09:14 -0500 (Thu, 20 Sep 2007) | 8 lines

If # is pressed after dialing an extension in DISA, stop trying to collect more digits.

(closes issue #10754)
Reported by: atis
Patches:
      app_disa.c.branch.patch uploaded by atis (license 242)
      app_disa.c.trunk.patch uploaded by atis (license 242)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_disa.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_disa.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_disa.c?view=diff&rev=83251&r1=83250&r2=83251
==============================================================================
--- trunk/apps/app_disa.c (original)
+++ trunk/apps/app_disa.c Thu Sep 20 12:10:14 2007
@@ -283,6 +283,10 @@
 					ast_debug(1,"Successful DISA log-in on chan %s\n", chan->name);
 					continue;
 				}
+			} else {
+				if (j == '#') { /* end of extension */
+					break;
+				}
 			}
 
 			exten[i++] = j;  /* save digit */




More information about the asterisk-commits mailing list