[asterisk-commits] trunk r10354 - /trunk/channels/chan_iax2.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Feb 16 16:44:10 MST 2006
Author: mogorman
Date: Thu Feb 16 17:44:09 2006
New Revision: 10354
URL: http://svn.digium.com/view/asterisk?rev=10354&view=rev
Log:
add 'blindtransfer' variable to chan iax2 like chan_sip and res_features bug note 6407
Modified:
trunk/channels/chan_iax2.c
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=10354&r1=10353&r2=10354&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Feb 16 17:44:09 2006
@@ -6970,6 +6970,9 @@
break;
case IAX_COMMAND_TRANSFER:
if (iaxs[fr.callno]->owner && ast_bridged_channel(iaxs[fr.callno]->owner) && ies.called_number) {
+ /* Set BLINDTRANSFER channel variables */
+ pbx_builtin_setvar_helper(iaxs[fr.callno]->owner, "BLINDTRANSFER", ast_bridged_channel(iaxs[fr.callno]->owner)->name);
+ pbx_builtin_setvar_helper(ast_bridged_channel(iaxs[fr.callno]->owner), "BLINDTRANSFER", iaxs[fr.callno]->owner->name);
if (!strcmp(ies.called_number, ast_parking_ext())) {
if (iax_park(ast_bridged_channel(iaxs[fr.callno]->owner), iaxs[fr.callno]->owner)) {
ast_log(LOG_WARNING, "Failed to park call on '%s'\n", ast_bridged_channel(iaxs[fr.callno]->owner)->name);
More information about the asterisk-commits
mailing list