diff --git a/app/dialplan_inbound/dialplan_inbound_add.php b/app/dialplan_inbound/dialplan_inbound_add.php index 5a18b765e5..549fa9a4d5 100644 --- a/app/dialplan_inbound/dialplan_inbound_add.php +++ b/app/dialplan_inbound/dialplan_inbound_add.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2013 + Portions created by the Initial Developer are Copyright (C) 2008-2015 the Initial Developer. All Rights Reserved. Contributor(s): @@ -389,7 +389,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "'$dialplan_detail_uuid', "; $sql .= "'action', "; $sql .= "'limit', "; - $sql .= "'hash \${domain} inbound ".$limit." !USER_BUSY', "; + $sql .= "'hash \${domain_name} inbound ".$limit." !USER_BUSY', "; $sql .= "'65' "; $sql .= ")"; $db->exec(check_sql($sql)); diff --git a/app/dialplan_outbound/dialplan_outbound_add.php b/app/dialplan_outbound/dialplan_outbound_add.php index 2f4b30a10e..fe527bfff9 100644 --- a/app/dialplan_outbound/dialplan_outbound_add.php +++ b/app/dialplan_outbound/dialplan_outbound_add.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2014 + Portions created by the Initial Developer are Copyright (C) 2008-2015 the Initial Developer. All Rights Reserved. Contributor(s): @@ -466,7 +466,7 @@ else { if (strlen($limit) > 0) { $dialplan_detail_tag = 'action'; //condition, action, antiaction $dialplan_detail_type = 'limit'; - $dialplan_detail_data = "hash \${domain} outbound ".$limit." !USER_BUSY"; + $dialplan_detail_data = "hash \${domain_name} outbound ".$limit." !USER_BUSY"; $dialplan_detail_order = '055'; $dialplan_detail_group = ''; dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data); @@ -695,7 +695,7 @@ function type_onchange(dialplan_detail_type) { echo " "; echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo ""; echo "\n"; @@ -755,7 +755,7 @@ function type_onchange(dialplan_detail_type) { echo ""; echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo ""; echo "\n"; @@ -815,7 +815,7 @@ function type_onchange(dialplan_detail_type) { echo ""; echo " \n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo ""; echo "\n";