/freeswitch-esl-out-netty

Freeswitch ESL outbound Java (Spring Boot + Netty) example

Primary LanguageShellMIT LicenseMIT

Github All Releases

Overview

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.

Dependencies

Spring used for Spring Boot and DI

Netty used for transport

Instruction

  1. 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>
  1. Run application this Java application

  2. Perform call on 74996; You will see answer on connect command in console output