Fetch the repository succeeded.
This action will force synchronization from zhouhailin/freeswitch-esl-all, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
1、支持连接FreeSWITCH大规模集群
2、更易于集成使用
4、与spring boot 2.2.x深度整合,提供 starter
5、可动态配置
freeswitch esl 客户端(详细信息,移步至子模块)
基于 freeswitch-esl 客户端示例(详细信息,移步至子模块)
基于 Spring boot 2.2.x, freeswitch-esl 客户端(详细信息,移步至子模块)
基于 freeswitch-esl-spring-boot-starter 客户端示例(详细信息,移步至子模块)
获取实例
InboundClient.getInstance()
SpringBoot容器 : @Autowired inboundClient
可动态配置添加或删除远端地址
添加远端地址
a、inboundClient.option().addServerOption(new ServerOption(host, port));
b、InboundClient.getInstance().option().addServerOption(new ServerOption(host, port));
删除远端地址
ServerOption serverOption = inboundClient.option().serverOptions().get(0);
a、inboundClient.option().removeServerOption(serverOption);
b、InboundClient.getInstance().option().removeServerOption(serverOption);
服务端连接监听器 ServerConnectionListener
inboundClient.option().serverConnectionListener(serverConnectionListenerImpl);
void onOpened(ServerOption serverOption);
void onClosed(ServerOption serverOption);
Apache License, Version 2.0 Copyright (C) Apache Software Foundation
Sign in for post a comment
Comments ( 0 )