[Asterisk-cvs] asterisk/apps app_macro.c,1.17,1.18

markster at lists.digium.com markster at lists.digium.com
Tue Dec 14 22:27:55 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv26242/apps

Modified Files:
	app_macro.c 
Log Message:
Small macro fix (bug #3044)


Index: app_macro.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_macro.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- app_macro.c	22 Nov 2004 23:41:34 -0000	1.17
+++ app_macro.c	15 Dec 2004 03:24:39 -0000	1.18
@@ -152,7 +152,8 @@
   while(ast_exists_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num)) {
 	if ((res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num))) {
 		/* Something bad happened, or a hangup has been requested. */
-		if (((res >= '0') && (res <= '9')) || ((res >= 'A') && (res <= 'F'))) {
+		if (((res >= '0') && (res <= '9')) || ((res >= 'A') && (res <= 'F')) ||
+		    (res == '*') || (res == '#')) {
 			/* Just return result as to the previous application as if it had been dialed */
 			ast_log(LOG_DEBUG, "Oooh, got something to jump out with ('%c')!\n", res);
 			break;




More information about the svn-commits mailing list