forked from Mirrors/freeswitch
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
47192db741
codecs need more work... Expose events into javascript so you can create and fire events and and pick up chat events with chat-enabled clients like googletalk EXAMPLE: session.answer(); e = new Event("custom", "JS::Custom"); e.addHeader("subject", "cool"); e.addBody("hello this is a test"); e.fire; while(session.ready()) { session.execute("sleep", "1000"); event = session.getEvent(); if (event) { str = event.serialize(); // or ("xml") console_log("debug", "Dump Event:\n" + str + "\n"); e = new Event("custom", "JS::Chat"); e.addHeader("works", "yes"); e.addBody("you said: " + event.getBody()); session.sendEvent(e); event.destroy(); } } git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2323 d0543943-73ff-0310-b7d9-9358b9ac24b2 |
||
---|---|---|
build | ||
conf | ||
docs | ||
libs | ||
mac/xcode | ||
scripts | ||
src | ||
w32 | ||
.indent.pro | ||
aclocal.m4 | ||
AUTHORS | ||
build.sh | ||
ChangeLog | ||
configure | ||
configure.in | ||
COPYING | ||
Freeswitch.sln | ||
generic_mod.mk | ||
indent_options.sh | ||
INSTALL | ||
Makefile.am | ||
Makefile.in | ||
mkinstalldirs | ||
modules.conf.in | ||
NEWS | ||
README |
Freeswitch depends on several out of tree libraries. All of freeswitch depends on APR, and mod_exosip depends on osip, exosip, jtrhead, and jrtplib. Download locations and links for details can be found below. Apr info available at: http://apr.apache.org Download Locations: apr: http://apache.mirrors.versehost.com/apr/apr-1.2.2.tar.gz Backup Download Locations: apr: http://www.sofaswitch.org/mikej/apr-1.2.2.tar.gz Exosip\Osip info available at: http://www.antisip.com/ Download Locations: osip: http://www.antisip.com/download/libosip2-2.2.1.tar.gz exosip: http://www.antisip.com/download/libeXosip-0.9.0.tar.gz Backup Download Locations: osip: http://www.sofaswitch.org/mikej/libosip2-2.2.1.tar.gz exosip: http://www.sofaswitch.org/mikej/libeXosip-0.9.0.tar.gz Jthread\Jrtplib info available at: http://research.edm.luc.ac.be/jori/page.html Download Locations: jthread: http://research.edm.luc.ac.be/jori/jthread/jthread-1.1.2.tar.gz jrtplib: http://research.edm.luc.ac.be/jori/jrtplib/jrtplib-3.3.0.tar.gz Backup Download Locations: jthread: http://www.sofaswitch.org/mikej/jthread-1.1.2.tar.gz jrtplib: http://www.sofaswitch.org/mikej/jrtplib-3.3.0.tar.gz MSVC Notes: Freeswitch will compile and run from Microsoft Visual Studio 2005. If using the Visual C++ Express edition, please make sure that the location of the include and lib directories are propperly set in the file C:\Program Files\Microsoft Visual Studio 8\VC\vcpackages\VCProjectEngine.Dll.Express.Config. The automated build process for te dependecy libraries will not work without these settings.