diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index be0d09651f..5029f7f899 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -514,7 +514,7 @@ else { } $dialplan_detail_tag = 'action'; //condition, action, antiaction - if ($gateway_type != "transfer") { + if ($gateway_type == "transfer") { $dialplan_detail_type = 'transfer'; } else {