The open-source alternative to Twilio.
Fonoster is researching an innovative Programmable Telecommunications Stack that will allow businesses to connect telephony services with the Internet entirely through a cloud-based utility.
The most notable features of Fonoster are:
A Voice Application is a server that controls a call's flow. A Voice Application can use any combination of the following verbs:
Answer - Accepts an incoming callHangup - Closes the callPlay: Takes a URL with a media file and streams the sound back to the calling partyPlayDtmf - Takes a DTMF sequence and plays it back to the calling partySay - Takes a text, synthesizes the text into audio, and streams back the resultGather - Waits for DTMF or speech events and returns back the resultSGather - Returns a stream for future DTMF and speech resultsStream - Creates a bidirectional stream to send and receive audio from a callerDial - Passes the call to an Agent or a Number at the PSTNRecord - It records the voice of the calling party and saves the audio on the Storage sub-systemMute - It tells the channel to stop sending media, effectively muting the channelUnmute - It tells the channel to allow media flowVoice Application Example:
…Everything in Fonoster is an API first, and initiating a call is no exception. You can use the SDK to start a call with a few lines of code.
Example of originating a call with the SDK:
…To get started with Fonoster, use the following resources:
Please give it a star if you like this project or plan to use it. Thanks
For bugs, questions, and discussions, please use the Github Issues
For contributing, please see the following links:
[Bug] EXTERNAL voice applications are always dialed with insecure credentials, so a TLS endpoint can't be used
[Bug] Autopilot plays the first message after the caller barged in before answer() completed
[Bug] Autopilot ignores allowUserBargeIn during the greeting and the idle message
[FEATURE]: Asynchronous playback verb (sPlay) for background/ambient audio in voice apps and Autopilot
[Bug] Call-end events carry no ref; CDR correlation relies solely on in-process memory and is lost on apiserver restart
[Bug] Calls.TrackCall never delivers events for API-originated calls (ref/channel.id key mismatch)
CallDetailRecord.duration includes ring time; no way to get answered/talk duration
[Bug] TrackCall stream and trackingCallsMap entry leak forever for answered/cancelled calls
[Feature] TrackCall never exposes hangup cause, even though apiserver already receives and stores it
[Bug] Autopilot crashes with GoogleGenerativeAIFetchError 404 — model gemini-2.0-flash is no longer available