If gateway type is transfer then use action transfer.
This commit is contained in:
parent
f32397252e
commit
b362eab643
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue