aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-02 20:10:32 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-02 20:10:32 +0000
commit2faf048c3dc1ec4fefe65cb9046402f8c546e884 (patch)
treeebe00e774d872d3f311435c578e71b6ebb82afcf /pbx.c
parent873d9efc182d675535045af1111ee4e7d10f18a8 (diff)
Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up the dst field
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@62737 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 */