Commit Graph

23 Commits

Author SHA1 Message Date
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Michael Jerris 5a58605d21 type tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 21:29:03 +00:00
Anthony Minessale 5a3a8297ef peliminary sofia inbound reg support rm all traces of sofia and rebuild or face certian doom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 03:44:14 +00:00
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
Anthony Minessale a53f2b0c39 cast for arm (lol)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-09 18:25:15 +00:00
Anthony Minessale e270bb4b7d fix xml no config catch-22
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 21:14:49 +00:00
Anthony Minessale e30e2c5cbd make toxml generate nicer output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-26 18:26:56 +00:00
Anthony Minessale ef8635e55e make toxml generate nicer output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1681 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-26 18:26:23 +00:00
Michael Jerris e9563fbf5d make snprintf commands use the path seperator macro.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-05 18:12:33 +00:00
Anthony Minessale bf6d91c3fd reloadxml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-26 17:27:09 +00:00
Anthony Minessale 21c2b5812e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-17 00:58:21 +00:00
Anthony Minessale 9d68a23929 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-15 18:16:43 +00:00
Michael Jerris 3cb9008799 type tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:39:45 +00:00
Anthony Minessale d53d9d3997 rearrange some things please see conf/freeswitch.xml as there is a significant change to the conf that will break your stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 19:28:21 +00:00
Anthony Minessale f09491a69b XMLification (wave 4)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 15:47:54 +00:00
Michael Jerris a9a5a48209 export switch_xml_free for use by modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:10:23 +00:00
Michael Jerris 1b97a9b8a8 msvc build fixes to core from XMLification commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:06:01 +00:00
Anthony Minessale 646f764ae4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:40:52 +00:00
Anthony Minessale 93666f6dd7 XMLification (wave 1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Anthony Minessale 67ff0782a1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:58:13 +00:00
Michael Jerris 93345ede86 make switch_xml work on windows part 1/2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:39:29 +00:00
Anthony Minessale 8b26a521cc update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:31:19 +00:00
Anthony Minessale 3058335e80 add xml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:05:11 +00:00