Fix the gateways list for call center agents.
This commit is contained in:
parent
07e884d494
commit
d030b52f6d
|
|
@ -25,7 +25,7 @@
|
|||
$apps[$x]['destinations'][$y]['type'] = "sql";
|
||||
$apps[$x]['destinations'][$y]['label'] = "gateways";
|
||||
$apps[$x]['destinations'][$y]['name'] = "gateways";
|
||||
$apps[$x]['destinations'][$y]['sql'] = "select g.gateway_uuid as uuid, g.gateway as name, d.domain_name from v_gateways as g ";
|
||||
$apps[$x]['destinations'][$y]['sql'] = "select g.gateway_uuid as destination, g.gateway as name, d.domain_name from v_gateways as g ";
|
||||
$apps[$x]['destinations'][$y]['sql'] .= "inner join v_domains as d on g.domain_uuid = d.domain_uuid ";
|
||||
$apps[$x]['destinations'][$y]['where'] = "where g.domain_uuid = '\${domain_uuid}' and g.enabled = 'true' ";
|
||||
$apps[$x]['destinations'][$y]['order_by'] = "gateway asc";
|
||||
|
|
|
|||
Loading…
Reference in New Issue