Moved trigger for BRIDGE_END CEL event so that it is more accurate.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@204807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Nicholson
2009-07-02 20:37:16 +00:00
parent 719917fe59
commit fd6a49beac
2 changed files with 1 additions and 3 deletions

View File

@@ -2945,6 +2945,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
ast_frfree(f);
}
ast_cel_report_event(chan, AST_CEL_BRIDGE_END, NULL, NULL, NULL);
before_you_go:
if (ast_test_flag(chan,AST_FLAG_BRIDGE_HANGUP_DONT)) {