Package com.bytedesk.call.config
Class CallConnectionTester
java.lang.Object
com.bytedesk.call.config.CallConnectionTester
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@Component
@ConditionalOnProperty(prefix="bytedesk.call.freeswitch",
name="enabled",
havingValue="true",
matchIfMissing=false)
public class CallConnectionTester
extends Object
implements org.springframework.boot.CommandLineRunner
Call连接测试工具
在应用程序启动时自动测试ESL连接
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
提供连接诊断信息void
void
测试Call连接
-
Field Details
-
callProperties
-
-
Constructor Details
-
CallConnectionTester
public CallConnectionTester()
-
-
Method Details
-
run
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
-
testConnection
public void testConnection()测试Call连接 -
printDiagnosticInfo
public void printDiagnosticInfo()提供连接诊断信息
-