aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-02 21:18:33 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-02 21:18:33 +0000
commit17dbacc14870455c01469b90dfe8104d9acd22c8 (patch)
treeb09c24340a64a0b96c223139d118730222dfed56 /pbx.c
parent85ba51442f4c792e7f35c379cc5e85f752762f76 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@62782 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 6b068214c..2b2edc211 100644
--- a/pbx.c
+++ b/pbx.c
@@ -562,7 +562,7 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */
int (*execute)(struct ast_channel *chan, void *data) = app->execute;
if (newstack) {
- if (c->cdr)
+ if (c->cdr && !ast_check_hangup(c))
ast_cdr_setapp(c->cdr, app->name, data);
/* save channel values */