projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0506b3
)
Fix the previous patch (don't exit from macro when we were invoked from 'h' extension)
author
Martin Pycko
<martinp@digium.com>
Wed, 23 Apr 2003 23:54:48 +0000
(23:54 +0000)
committer
Martin Pycko
<martinp@digium.com>
Wed, 23 Apr 2003 23:54:48 +0000
(23:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@902
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_macro.c
patch
|
blob
|
history
diff --git
a/apps/app_macro.c
b/apps/app_macro.c
index
55b3df4
..
3e10245
100755
(executable)
--- a/
apps/app_macro.c
+++ b/
apps/app_macro.c
@@
-164,7
+164,7
@@
static int macro_exec(struct ast_channel *chan, void *data)
break;
}
/* don't stop executing extensions when we're in "h" */
- if (chan->_softhangup && strcasecmp(chan->exten,"h")) {
+ if (chan->_softhangup && strcasecmp(oldexten,"h")) {
ast_log(LOG_DEBUG, "Extension %s, priority %d returned normally even though call was hung up\n",
chan->exten, chan->priority);
goto out;