[svn-commits] qwell: branch 1.4 r83246 - /branches/1.4/apps/app_disa.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Sep 20 12:09:14 CDT 2007


Author: qwell
Date: Thu Sep 20 12:09:14 2007
New Revision: 83246

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83246
Log:
If # is pressed after dialing an extension in DISA, stop trying to collect more digits.

(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:
    branches/1.4/apps/app_disa.c

Modified: branches/1.4/apps/app_disa.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_disa.c?view=diff&rev=83246&r1=83245&r2=83246
==============================================================================
--- branches/1.4/apps/app_disa.c (original)
+++ branches/1.4/apps/app_disa.c Thu Sep 20 12:09:14 2007
@@ -297,6 +297,10 @@
 					ast_log(LOG_DEBUG,"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 svn-commits mailing list