Update dialplan_outbound_add.php (#5336)

gateway's order
This commit is contained in:
chansizzle
2020-07-07 10:35:01 -06:00
committed by GitHub
parent 91f2f67fc4
commit 65fdd51f07

View File

@@ -723,7 +723,7 @@
$sql = "select * from v_gateways ";
$sql .= "where enabled = 'true' ";
if (permission_exists('outbound_route_any_gateway')) {
$sql .= "order by domain_uuid ";
$sql .= "order by domain_uuid, gateway ";
}
else {
$sql .= "and domain_uuid = :domain_uuid ";