Skip to content

FreeSWITCH Event Socket Library demo application

Notifications You must be signed in to change notification settings

iamvena/FreeSWITCH-Listener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeSWITCH Listener

Demo FreeSWITCH-based (Node.js) application which uses the Event Socket Library (ESL) in order to listen to a series of VoIP call events and eventually execute commands.

My post for "Making Tuenti" blog: https://medium.com/makingtuenti/developing-applications-for-freeswitch-fccbe75ada81

Configuration:

You need to provide to the demo application your specific FreeSWITCH host and credentials.

You can do this by either:

  1. Providing them to the Docker image via environment variables (see docker-compose.yaml file):
services:
  freeswitch-listener:
    ...
    environment:
      - FREESWITCH_IP=[YourFreeswitchIpAddressHere]
      - FREESWITCH_PORT=[YourFreeswitchPortHere]
      - FREESWITCH_PASSWORD=[YourFreeswitchPasswordHere]
  1. Changing them directly in the freeswitch-listener/config/config.js file:
const configParams = {
	freeswitch: {
		ip: [YourFreeswitchIpAddressHere],
		port: [YourFreeswitchPortHere],
		password: [YourFreeswitchPasswordHere],
	},
};

Run:

To run the demo application, you just need to launch the commands:

$ docker-compose build
$ docker-compose up

About

FreeSWITCH Event Socket Library demo application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.6%
  • Dockerfile 2.8%
  • Makefile 2.6%