Package com.bytedesk.call.config
Class CallEslInboundConfig
java.lang.Object
com.bytedesk.call.config.CallEslInboundConfig
@Configuration
@ConditionalOnProperty(prefix="bytedesk.call.freeswitch",
name="enabled",
havingValue="true",
matchIfMissing=false)
public class CallEslInboundConfig
extends Object
使用 thingscloud 库的 Call ESL 客户端配置
参考链接:https://github.com/zhouhailin/freeswitch-externals
- Version:
- 1.0.0
- Author:
- jackning
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidhandleChannelAnswer(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道应答事件private voidhandleChannelCreate(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道创建事件private voidhandleChannelHangup(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道挂断事件private voidhandleDtmf(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理DTMF按键事件private voidhandleEvent(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理接收到的事件link.thingscloud.freeswitch.esl.InboundClient配置基于 thingscloud 的 Call ESL 客户端
-
Field Details
-
callProperties
-
-
Constructor Details
-
CallEslInboundConfig
public CallEslInboundConfig()
-
-
Method Details
-
thingsCloudEslClient
@Bean public link.thingscloud.freeswitch.esl.InboundClient thingsCloudEslClient()配置基于 thingscloud 的 Call ESL 客户端 -
handleEvent
private void handleEvent(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理接收到的事件 -
handleChannelCreate
private void handleChannelCreate(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道创建事件 -
handleChannelAnswer
private void handleChannelAnswer(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道应答事件 -
handleChannelHangup
private void handleChannelHangup(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理通道挂断事件 -
handleDtmf
private void handleDtmf(link.thingscloud.freeswitch.esl.transport.event.EslEvent event) 处理DTMF按键事件
-