freeswitch/libs
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
..
codec Update to new build system for windows. 2006-08-17 19:58:55 +00:00
iax Update to new build system for windows. 2006-08-17 19:58:55 +00:00
libdingaling Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues. 2006-08-18 01:28:50 +00:00
libspeakup autoconf crap 2006-07-22 01:02:36 +00:00
libteletone Update to new build system for windows. 2006-08-17 19:58:55 +00:00
srtp Update to new build system for windows. 2006-08-17 19:58:55 +00:00
win32 Update to new build system for windows. 2006-08-17 19:58:55 +00:00
libresample-0.1.3.build.sh tweak to build libresample on FreeBSD 5.4 thanks to xachen. 2006-03-25 02:59:28 +00:00
mozilla.build.sh 64bit tweak 2006-03-21 17:08:54 +00:00
openldap-2.3.19.build.sh a fresh install on fedora core 3 revealed some necessary tweaks 2006-02-21 16:03:18 +00:00
portaudio.build.sh make portaudio autobuild on 64bit right 2006-07-20 03:54:34 +00:00
srtp.build.sh more build stuff 2006-04-04 00:27:32 +00:00