diff options
author | Terry Wilson <twilson@digium.com> | 2008-10-31 18:55:33 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-10-31 18:55:33 +0000 |
commit | 5fe37e47c6a0f9a256e9e5668d2fd0f94d5c7504 (patch) | |
tree | 88c419c36f1dbffe6e003489a19683b9008f3f12 /include | |
parent | 46abb39ca242746bfbceb1ee315cb68fa3e84243 (diff) |
Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
(closes issue #13793)
Reported by: greenfieldtech
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index e7317961e..549b6883f 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -584,6 +584,7 @@ struct ast_bridge_config { const char *start_sound; int firstpass; unsigned int flags; + void (* end_bridge_callback)(void); /*!< A callback that is called after a bridge attempt */ }; struct chanmon; |