diff options
author | Mark Spencer <markster@digium.com> | 2003-05-22 04:38:46 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-22 04:38:46 +0000 |
commit | d82c9db4c823fe9f6602562fd319a3d35a15ca7d (patch) | |
tree | b56a7200d34650e4e1d16854095a4aa58c7a850f /pbx.c | |
parent | 36934104267bb2debf69fe4727df63d1005a739a (diff) |
Fix 'T' extension
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1703,6 +1703,8 @@ int ast_pbx_run(struct ast_channel *c) strncpy(c->exten,"T",sizeof(c->exten) - 1); /* If the AbsoluteTimeout is not reset to 0, we'll get an infinite loop */ c->whentohangup = 0; + c->priority = 0; + c->_softhangup &= ~AST_SOFTHANGUP_TIMEOUT; } else if (c->_softhangup) { ast_log(LOG_DEBUG, "Extension %s, priority %d returned normally even though call was hung up\n", c->exten, c->priority); |