Update CDR's when changing extensions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-09-01 16:16:53 +00:00
parent d855c2855a
commit 7893c6b188
1 changed files with 5 additions and 0 deletions

5
pbx.c
View File

@ -1797,6 +1797,11 @@ int ast_pbx_run(struct ast_channel *c)
}
}
}
if (c->cdr) {
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_2,"CDR updated on %s\n",c->name);
ast_cdr_update(c);
}
}
}
if (firstpass)