1 Star 13 Fork 11

zhouhailin / freeswitch-esl-all

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

FreeSWITCH ESL ALL

Jdk Version License Maven Central

目标

1、支持连接FreeSWITCH大规模集群
2、更易于集成使用
4、与spring boot 2.2.x深度整合,提供 starter
5、可动态配置

模块说明

1.freeswitch-esl

freeswitch esl 客户端(详细信息,移步至子模块)

2.freeswitch-esl-example

基于 freeswitch-esl 客户端示例(详细信息,移步至子模块)

3.freeswitch-esl-spring-boot-starter

基于 Spring boot 2.2.x, freeswitch-esl 客户端(详细信息,移步至子模块)

4.freeswitch-esl-spring-boot-starter-example

基于 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);

License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation

Comments ( 0 )

Sign in for post a comment

About

freeswitch event socket base on netty 4 and has some new features. spread retract
Java
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Java
1
https://git.oschina.net/zhouhailin/freeswitch-esl-all.git
git@git.oschina.net:zhouhailin/freeswitch-esl-all.git
zhouhailin
freeswitch-esl-all
freeswitch-esl-all
master

Search