If gateway type is transfer then use action transfer.

This commit is contained in:
Mark Crane
2015-05-31 03:34:37 +00:00
parent f32397252e
commit b362eab643

View File

@@ -514,7 +514,12 @@ else {
}
$dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan_detail_type = 'bridge';
if ($gateway_type != "transfer") {
$dialplan_detail_type = 'transfer';
}
else {
$dialplan_detail_type = 'bridge';
}
$dialplan_detail_data = $action_data;
$dialplan_detail_order = '070';
$dialplan_detail_group = '0';