salix/db/routines/pbx/triggers/sip_beforeInsert.sql

9 lines
191 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` TRIGGER `pbx`.`sip_beforeInsert`
BEFORE INSERT ON `sip`
FOR EACH ROW
BEGIN
CALL sip_isValid(NEW.extension);
END$$
DELIMITER ;