From 3324f710d555b5ec030ad0e53c7f6f55bac1f953 Mon Sep 17 00:00:00 2001 From: twilson Date: Fri, 31 Oct 2008 22:11:11 +0000 Subject: Merged revisions 153181 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r153181 | twilson | 2008-10-31 13:55:33 -0500 (Fri, 31 Oct 2008) | 5 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.1@153266 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/channel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3