Example of spring boot application with netty for transport, interacting with Freeswitch using ESL outbound
See Netcat Example; Use same diaplan to connect FS to this application.
Spring used for Spring Boot and DI
Netty used for transport
- Create dialplan extension, like so:
<extension name="callToSpringApp">
<condition field="destination_number" expression="74996">
<action application="log" data="test outbound socket"/>
<action application="socket" data="127.0.0.1:8084 async full"/>
</condition>
</extension>
-
Run application this Java application
-
Perform call on 74996; You will see answer on connect command in console output