salix/db/routines/pbx/views/followmeNumberConf.sql

12 lines
280 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `pbx`.`followmeNumberConf`
AS SELECT `f`.`extension` AS `name`,
1 AS `ordinal`,
`f`.`phone` AS `phonenumber`,
`c`.`timeout` AS `timeout`
FROM (
`pbx`.`followme` `f`
JOIN `pbx`.`followmeConfig` `c`
)