Настраиваем ODBC Mysql
Добавляем MySQL сервер OTRS, вместо
rmtpassword=’########’ вставляем реальный пароль
USE [master] GO /****** Object: LinkedServer [OTRS] ******/ EXEC master.dbo.sp_addlinkedserver @server = N'OTRS', @srvproduct=N'MySQL', @provider=N'MSDASQL', @datasrc=N'OTRS', @provstr=N'ODBC;DSN=OTRS;', @catalog=N'otrs' EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'OTRS',@useself=N'False',@locallogin=NULL,@rmtuser=N'root',@rmtpassword='########' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'collation compatible', @optvalue=N'true' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'data access', @optvalue=N'true' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'dist', @optvalue=N'false' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'pub', @optvalue=N'false' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'rpc', @optvalue=N'true' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'rpc out', @optvalue=N'true' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'sub', @optvalue=N'false' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'connect timeout', @optvalue=N'0' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'collation name', @optvalue=null GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'lazy schema validation', @optvalue=N'false' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'query timeout', @optvalue=N'0' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'use remote collation', @optvalue=N'true' GO EXEC master.dbo.sp_serveroption @server=N'OTRS', @optname=N'remote proc transaction promotion', @optvalue=N'true' GO
Аналогично я присоединил и базу лога звонков из Issabel (Elastix 4) c именем VOIP