# freeswitch-esl-all **Repository Path**: ayers/freeswitch-esl-all ## Basic Information - **Project Name**: freeswitch-esl-all - **Description**: freeswitch event socket base on netty 4 and has some new features. - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 32 - **Created**: 2024-11-15 - **Last Updated**: 2024-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FreeSWITCH ESL ALL [![Jdk Version](https://img.shields.io/badge/JDK-1.8-green.svg)](https://img.shields.io/badge/JDK-1.8-green.svg) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/link.thingscloud/freeswitch-esl-all/badge.svg)](https://maven-badges.herokuapp.com/maven-central/link.thingscloud/freeswitch-esl-all/) ## 目标 1、支持连接FreeSWITCH大规模集群 2、更易于集成使用 4、与spring boot 2.2.x深度整合,提供 starter 5、可动态配置 ## 模块说明 ### 1.[freeswitch-esl](freeswitch-esl/README.md) freeswitch esl 客户端(详细信息,移步至子模块) ### 2.[freeswitch-esl-example](freeswitch-esl-example/README.md) 基于 freeswitch-esl 客户端示例(详细信息,移步至子模块) ### 3.[freeswitch-esl-spring-boot-starter](freeswitch-esl-spring-boot-starter/README.md) 基于 Spring boot 2.2.x, freeswitch-esl 客户端(详细信息,移步至子模块) ### 4.[freeswitch-esl-spring-boot-starter-example](freeswitch-esl-spring-boot-starter-example/README.md) 基于 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](http://www.apache.org/licenses/LICENSE-2.0.html) Copyright (C) Apache Software Foundation