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.
Go to file
Anthony Minessale 47192db741 Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues.
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
2006-08-18 01:28:50 +00:00
build make script work on solaris 2006-05-08 04:10:21 +00:00
conf update dingaling to be able to use TLS jabber servers such as googletalk 2006-08-11 00:24:38 +00:00
docs dox 2006-05-10 20:02:01 +00:00
libs Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues. 2006-08-18 01:28:50 +00:00
mac/xcode Fix PCRE depends for libfreeswitch and the cli so it will build correctly. 2006-08-13 17:20:02 +00:00
scripts Change the socket protocol and the sample client to use multiline input 2006-07-25 14:14:07 +00:00
src Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues. 2006-08-18 01:28:50 +00:00
w32 fix mod_event_socket destination 2006-08-17 23:45:04 +00:00
.indent.pro
aclocal.m4 fixup custom event stuff 2006-07-24 15:45:36 +00:00
AUTHORS Initial merge of mod_cdr. Big thanks to Yossi Neiman for this huge contribution. Please note that this is still somewhat a work in progress, but it works. 2006-07-24 15:19:05 +00:00
build.sh
ChangeLog
configure fixup custom event stuff 2006-07-24 15:45:36 +00:00
configure.in autoconf crap 2006-07-22 01:02:36 +00:00
COPYING
Freeswitch.sln Update to new build system for windows. 2006-08-17 19:58:55 +00:00
generic_mod.mk
indent_options.sh
INSTALL
Makefile.am move pcre into core do a ./configure again 2006-07-31 23:46:37 +00:00
Makefile.in move pcre into core do a ./configure again 2006-07-31 23:46:37 +00:00
mkinstalldirs
modules.conf.in Add mod_event_socket remote client module and sample client. 2006-07-22 21:49:52 +00:00
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.