Index: res/res_features.c =================================================================== --- res/res_features.c (revision 172705) +++ res/res_features.c (working copy) @@ -1524,6 +1524,10 @@ ast_channel_lock(caller); ast_channel_datastore_add(caller, ds_caller_features); ast_channel_unlock(caller); + } else { + /* If we don't return here, then when we do a builtin_atxfer we will copy the disconnect + * flags over from the atxfer to the caller */ + return; } ast_channel_lock(callee);