Jump to content

FreeSWITCH

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2803:d000:fffe:0:55cb:b16e:e136:656 (talk) at 22:24, 2 February 2016 (English correction.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

FreeSWITCH
Original author(s)Anthony Minessale
Developer(s)Many contributors
Stable release1.10.11 (December 22, 2023; 12 months ago (2023-12-22)[1]) [±]
Repository
Written inC
Operating systemUnix-like, Windows, Solaris, OS X
PlatformCross-platform
Available inmulti-lingual
TypeVoIP software, Softswitch
LicenseMozilla Public License (MPL)
Websitefreeswitch.com Edit this on Wikidata

FreeSWITCH is free and open source communications software for the creation of voice and messaging products. It is licensed under the Mozilla Public License (MPL), a free software license. Its core library, libfreeswitch, is capable of being embedded into other projects, as well as being used as a stand-alone application.

History

The FreeSWITCH project was first announced in January 2006 at O'Reilly Media's ETEL Conference.[2] In June 2007, FreeSWITCH was selected by Truphone for use,[3] and in August 2007, Gaboogie announced that it selected FreeSWITCH as its conferencing platform.[4]

FreeSWITCH's first official 1.0.0 release (Phoenix) was on May 26, 2008.[5] A minor 1.0.1 patch release came out on July 24, 2008.[6] At ClueCon 2012 Anthony Minessale announced[7] the release of FreeSWITCH version 1.2.0[8] and that the FreeSWITCH development team had adopted separate stable (version 1.2) and development (version 1.3) branches.

FreeSWITCH 1.4, released at early 2014, is the first version support SIP over Websocket and WebRTC.

Always in 2014 also Tuenti announced that it selected FreeSWITCH as a main component for its platform.[9]

FreeSWITCH 1.6 is the first version that supports video transcoding and video conferencing.

Design

According to the lead designer, Anthony Minessale,[10] FreeSWITCH is intended to be a softswitch that is built on top of a solid core, driven by a state machine.[11] The stated goals of the project include stability, scalability, and abstraction.

To reduce complexity, FreeSWITCH uses freely available software libraries that perform needed functions. Some dependencies are:[12]

Not all of these software dependencies are required to build the core freeswitch application, but are dependencies of various external modules, such as codecs. FreeSWITCH is a modular application, in which modules can extend the functionality but the abstraction layer prevents inter-module dependency. The goal is to ensure that one module is not required to load another.[13]

Features

FreeSWITCH includes many modules that provide many telephony applications, such as conferencing, XML-RPC control of live calls, interactive voice response (IVR), speech synthesis and speech recognition, public switched telephone network (PSTN) interfaces for analogue and digital circuits, voice over IP protocols including Session Initiation Protocol (SIP), Verto, Skinny Client Control Protocol (SCCP), H.323, Extensible Messaging and Presence Protocol (XMPP), GoogleTalk, T.38 and others.[14]

FreeSWITCH provides an application programming interface that exposes primitives for call control and IVR functionality. Applications may be written in the C language, C++, Python, Perl, Lua, JavaScript, Java and Microsoft .NET via Microsoft's CLR or via Mono.[15]

Call control applications can use the Event Socket, which is an Internet socket-based communications facility within FreeSWITCH providing a language independent interface. The Event Socket Library (ESL) and "ESL-wrappers" are available for Erlang, JavaScript, Lua, Perl, PHP, Python, and Ruby.

As of FreeSWITCH version 1.4, support exists for WebRTC.[16]

Codec Support

FreeSWITCH supports a variety of audio codecs:[17]

FreeSWITCH 1.4 supports video codecs only in passthrough mode:[19]

FreeSWITCH 1.6 supports video transcoding.


Some codecs are implemented in pass-through mode only. This means that the raw compressed data is passed through between callers, without any processing. This allows some codecs to be supported which cannot be provided free of charge due to patent licensing issues, since the data is never encoded nor decoded. However, these codecs cannot be transcoded, i.e. both callers must use the same codec when using a pass-through codec and functions which touch the media stream such as IVR are not supported.

The software supports hardware transcoding cards, such as produced by Sangoma.[20] These implement codecs in hardware, reducing the CPU usage of the server. Some of these codecs are fully licensed, providing an alternative to the passthrough options above.

Operating and build system support

  • Debian linux is the preferred operating system as it provides the broadest support in its libraries necessary to run FreeSWITCH unencumbered by licensing restrictions
  • Other linux systems, such as RHEL and CentOS
  • Solaris 10 UNIX (Solaris Studio)
  • FreeBSD (gmake)
  • OS X (gmake)
  • Windows (native)

Comparison with other telephony software

FreeSWITCH occupies a space between pure switches which simply route calls, such as GnuGK and SER, and those which are primarily PABXes or IVRs, such as Asterisk and its derivatives. FreeSWITCH provides building blocks from which applications – such as a PABX, a voicemail system, a conferencing system or a calling card – can be built using any of the supported languages.[21]

Derived products

FreeSWITCH is a core component in many PABX in a box commercial products and open-source projects. Some of the commercial products are hardware and software bundles, for which the manufacturer supports and releases the software as open source.

Examples are the Barracuda Networks Barracuda Phone System series, Gemeinschaft (PBX) and the HWPBX with a CTI Client for Freeswitch.

See also

References

  1. ^ "Releases - signalwire/freeswitch". Retrieved 4 March 2024 – via GitHub.
  2. ^ "Beyond Asterisk, The Future of Telephony. What's Next?". O'Reilly Media. 2006-01-25. Retrieved 2007-10-06.
  3. ^ "Truphone Selects FreeSWITCH and TelcoBridges to Enable VoIP Calls over WiFi on Mobile Phones" (Press release). Truphone. June 5, 2007.
  4. ^ "Gaboogie Embraces Open Source For New Mobile Group Calling and Conference Calling Solution". Gaboogie. 2007-08-03. Retrieved 2007-10-06.
  5. ^ "FreeSWITCH 1.0.0 "Phoenix" Released!".
  6. ^ "FreeSWITCH 1.0.1 "Phoenix" Released!".
  7. ^ "ClueCon 2012 Keynote Address".
  8. ^ "It's Official! FreeSWITCH 1.2 Has Been Released".
  9. ^ "Tuenti+WebRTC (Voip2day 2014)".
  10. ^ Gallagher, Kathleen (October 18, 2009). "Flipping the FreeSWITCH - Brookfield is home to revolutionary software". Milwaukee Journal Sentinel.
  11. ^ "An Interview with the Creator of FreeSWITCH". O'Reilly Media. July 25, 2006.
  12. ^ A complete list of dependencies can be found in the dependencies page section of the FreeSWITCH documentation.
  13. ^ "FreeSWITCH Introduction". FreeSWITCH Wiki. Retrieved 29 January 2016.
  14. ^ "Modules". FreeSWITCH Documentation Wiki. 2016-01-29. Retrieved 2007-10-07.
  15. ^ "Client and Developer Interfaces". FreeSWITCH Documentation Wiki. 2016-01-29. Retrieved 2007-10-07.
  16. ^ "FreeSWITCH Project Releases Version 1.4 Beta with WebRTC Media Support". FreeSWITCH Official Website. 2013-06-19. Retrieved 2013-06-19.
  17. ^ https://freeswitch.org/confluence/display/FREESWITCH/Audio+Codecs
  18. ^ http://www.freeswitch.org/node/235
  19. ^ https://freeswitch.org/confluence/display/FREESWITCH/Video+Codecs
  20. ^ http://wiki.sangoma.com/sangoma-media-transcoding#sng_freeswitch_usage
  21. ^ "FreeSWITCH Applications". Retrieved 30 January 2016.