[asterisk-commits] mmichelson: branch mmichelson/digit_manipulation r197257 - /team/mmichelson/d...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 27 14:45:34 CDT 2009
Author: mmichelson
Date: Wed May 27 14:45:30 2009
New Revision: 197257
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197257
Log:
Add use of connected line macro during a builtin blind transfer.
I think I may be done here.
Modified:
team/mmichelson/digit_manipulation/main/features.c
Modified: team/mmichelson/digit_manipulation/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/mmichelson/digit_manipulation/main/features.c?view=diff&rev=197257&r1=197256&r2=197257
==============================================================================
--- team/mmichelson/digit_manipulation/main/features.c (original)
+++ team/mmichelson/digit_manipulation/main/features.c Wed May 27 14:45:30 2009
@@ -1377,6 +1377,9 @@
/* Set the channel's new extension, since it exists, using transferer context */
ast_set_flag(transferee, AST_FLAG_BRIDGE_HANGUP_DONT); /* don't let the after-bridge code run the h-exten */
ast_log(LOG_DEBUG,"ABOUT TO AST_ASYNC_GOTO, have a pbx... set HANGUP_DONT on chan=%s\n", transferee->name);
+ if (ast_channel_connected_line_macro(transferee, transferer, &transferer->connected, 1, 0)) {
+ ast_channel_update_connected_line(transferee, &transferer->connected);
+ }
set_c_e_p(transferee, transferer_real_context, xferto, 0);
}
check_goto_on_transfer(transferer);
More information about the asterisk-commits
mailing list