Add the capability to have extension and DID with same number (#1998)

* Add the capability to have extension and DID with same number

Same rationale than 4.0

* Update dialplan_outbound_add.php
This commit is contained in:
Luis Daniel Lucio Quiroz 2016-10-14 17:07:40 -04:00 committed by FusionPBX
parent 54ea97a9d0
commit 8f7cea5784
1 changed files with 7 additions and 0 deletions

View File

@ -381,6 +381,13 @@
$db->exec(check_sql($sql));
unset($sql);
$dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan_detail_type = '${user_exists}';
$dialplan_detail_data = 'false';
$dialplan_detail_order = '004';
$dialplan_detail_group = '0';
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data);
$dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan_detail_type = 'destination_number';
$dialplan_detail_data = $dialplan_expression;