[Asterisk-cvs] asterisk/apps app_macro.c,1.15,1.15.2.1
russell at lists.digium.com
russell at lists.digium.com
Tue Dec 14 22:59:26 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv26482/apps
Modified Files:
Tag: v1-0
app_macro.c
Log Message:
Make macro processing consistent with regular exten processing (bug #3044)
Index: app_macro.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_macro.c,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -d -r1.15 -r1.15.2.1
--- app_macro.c 14 Jul 2004 07:22:30 -0000 1.15
+++ app_macro.c 15 Dec 2004 03:56:10 -0000 1.15.2.1
@@ -140,7 +140,8 @@
while(ast_exists_extension(chan, chan->context, chan->exten, chan->priority, chan->callerid)) {
if ((res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->callerid))) {
/* 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