The open-source alternative to Twilio.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Project NeoMs is open-source alternative to twilio voice api. It helps software developer or enterprises to build CPaaS like twilio with their infrastructure.
NeoMs required local redis on each server where you setup NeoMs. Redis is used for live call stats.
-
Redis
sudo apt install redis-server
-
FreeSWITCH (You may install your desired version)
sudo apt-get update && apt-get install -y gnupg2 wget lsb-release wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list # you may want to populate /etc/freeswitch at this point. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed # apt-get update && apt-get install -y freeswitch-meta-all
- Clone the repo
git clone https://github.com/tiniyo/neoms.git
- Install the neoms package dependency using go mod.
cd neoms go mod download
- Please enter your api configurations using environment variable.
EXPORT REGION=ALL EXPORT SER_USER=API_BASIC_AUTH_USER EXPORT SER_SECRET=API_BASIC_AUTH_SECRET EXPORT SIP_SERVICE=SIP_SERVICE_URL EXPORT KAMGO_SERVICE=LOCATION_SERVICE_URL EXPORT NUMBER_SERVICE=NUMBER_SERVICE_URL EXPORT HEARTBEAT_SERVICE=HEARTBEAT_SERVICE_URL EXPORT RATING_ROUTING_SERVICE=RATING_ROUTING_SERVICE_URL EXPORT CDR_SERVICE=CDR_SERVICE_URL EXPORT RECORDING_SERVICE=RECORDING_SERVICE_URL
- build the neoms and run the n
go build -o neoms main.go
./neoms
For more examples, please refer to the Documentation
- XML Parser
- Play, Say, Dial, Sip, Number, Record, Hangup, Reject, Pause, Gather , Redirect Twilio elements support
- [] Conference
- [] Conference API
- [] Inbound XML Support
- [] Outbound XML Support
- HeartBeat Event for billing
- CDR Post to api
- Initiated, Ringing, In-Progress, Hangup, Record Start, Record Stop Event for Twilio based callback for customer Url
- HeartBeat Event for billing
- Text2Speech Support
- [] Speech2Text Support
- DTMF Support
- [] Speech Detection
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Your Name - @twitter_handle - [email protected]
Project Link: https://github.com/tiniyo/neoms