Package com.bytedesk.call.config
Class CallManagementController
java.lang.Object
com.bytedesk.call.config.CallManagementController
@RestController
@RequestMapping("/api/v1/call/management")
@ConditionalOnProperty(prefix="bytedesk.call.freeswitch",
name="enabled",
havingValue="true",
matchIfMissing=false)
public class CallManagementController
extends Object
Call管理API
提供Call连接状态查询和诊断功能
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
配置信息类static class
测试结果类static class
故障排除指南类 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CallFreeswitchProperties
private final CallConnectionTester
private final CallHealthIndicator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
获取Call配置信息org.springframework.http.ResponseEntity<?>
获取Call连接状态org.springframework.http.ResponseEntity<?>
获取故障排除指南org.springframework.http.ResponseEntity<?>
测试Call连接
-
Field Details
-
callProperties
-
connectionTester
-
healthIndicator
-
-
Constructor Details
-
CallManagementController
public CallManagementController()
-
-
Method Details
-
getConfig
@GetMapping("/config") public org.springframework.http.ResponseEntity<?> getConfig()获取Call配置信息 -
getStatus
@GetMapping("/status") public org.springframework.http.ResponseEntity<?> getStatus()获取Call连接状态 -
testConnection
@PostMapping("/test-connection") public org.springframework.http.ResponseEntity<?> testConnection()测试Call连接 -
getTroubleshootingGuide
@GetMapping("/troubleshooting") public org.springframework.http.ResponseEntity<?> getTroubleshootingGuide()获取故障排除指南
-