Commit Graph

1015 Commits

Author SHA1 Message Date
Michael Jerris 3643ad3037 add md of the db dir to msvc build process. Add yet to be completed gsm codec.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 17:25:19 +00:00
Anthony Minessale 9e6a90602d windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 16:54:49 +00:00
Michael Jerris 1e8b78dc6b cleanup?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 14:29:05 +00:00
Michael Jerris 380bb59f00 add mod_xmpp_event to msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 06:15:25 +00:00
Michael Jerris 00aaadc4b4 numerous fixes to msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 03:39:33 +00:00
Anthony Minessale f3d53dfa7b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 03:12:39 +00:00
Anthony Minessale f52b45c2c9 centralize api interface
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 02:55:25 +00:00
Anthony Minessale 32273a0c3f xmppmas
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 02:24:56 +00:00
Anthony Minessale 549d9ca93a xmpp cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 00:31:39 +00:00
Anthony Minessale 6c0ea31f81 add roughed in xmpp logger (NEEDS WORK)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 23:59:33 +00:00
Anthony Minessale c08d15846c fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 22:18:53 +00:00
Anthony Minessale 0fd698a347 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 22:17:25 +00:00
Anthony Minessale 3e0234219b use more of apr-utils in the event stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 18:53:33 +00:00
Anthony Minessale e60fbc2267 get uuid from apr-utils for channel events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 01:57:32 +00:00
Anthony Minessale 98a797a2f2 add apr-utils
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:38:53 +00:00
Anthony Minessale 6949227ca1 more events and some build changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:25:22 +00:00
Anthony Minessale 03cc285054 unix build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:33:03 +00:00
Anthony Minessale 712acbc576 unix build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:24:23 +00:00
Anthony Minessale c0db418cd1 unix build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:22:38 +00:00
Anthony Minessale 146b99e1d6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 16:24:37 +00:00
Michael Jerris c574627ee7 project and build files for gnutls for msvc. Still need to do the scripting for autobuild. In the meantime, each w32.zip file should be extracted to a w32 dir in the appropriate lib, and built.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 08:04:08 +00:00
Anthony Minessale 978b64e9f4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:26:41 +00:00
Anthony Minessale d512d3084a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:20:56 +00:00
Anthony Minessale 6f0e998e92 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:17:30 +00:00
Michael Jerris f13315cb41 iksemel build on win32.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 19:10:21 +00:00
Anthony Minessale 7b9975902f iksemel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 18:45:20 +00:00
Michael Jerris 8c50104132 gsm isn't done yet... don't use it yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 18:27:58 +00:00
Anthony Minessale 79b941494b exosip oddness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 16:03:16 +00:00
Anthony Minessale 006e0f8d14 add network_addr to profile (had to add a func to get it for iax)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@175 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 16:01:18 +00:00
Anthony Minessale e4aae70c44 make it work on w32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 20:03:37 +00:00
Anthony Minessale ab0b99eb00 more event stuff
you should now be able to bind an event handler to a 
paticiular file or function not just a paticular event
when using the custom event 

like "file:somefile.c"
or "func:somefunc"

also events now have headers which can be added 
with varargs and should be created and delivered with api calls


switch_event *event;

regular event:
if (switch_event_create(&event, SWITCH_EVENT_STARTUP) == SWITCH_STATUS_SUCCESS) {
	switch_event_add_header(event, "event_info", "System Ready");
	switch_event_fire(&event);
}

custom event:
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, "some_subclass_string") == SWITCH_STATUS_SUCCESS) {
	switch_event_add_header(event, "event_info", "hello world %d", 42);
	switch_event_fire(&event);
} 

switch_event_add_header(event, "test %d", 42);

also you can serialize and event into a buffer in
a printable/transferrable format with optional body

char buf[1024];

with body:
switch_event_serialize(event, buf, sizeof(buf), "This is a body my favorite number is %d", 42);

no body:
switch_event_serialize(event, buf, sizeof(buf), NULL);






git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 19:57:32 +00:00
Anthony Minessale 2a58e2038a yet more rearrangment of events ;-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 18:55:31 +00:00
Michael Jerris 07920c0a94 update gsm codec based on codecs from open h323.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 20:41:43 +00:00
Michael Jerris 342e73399e oops.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:21:13 +00:00
Michael Jerris 36f0b95f2c msvc ports for ilbc and lpc10 codec libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:14:20 +00:00
Michael Jerris 20ff10947b gsm library port to msvc, fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 04:06:23 +00:00
Anthony Minessale 644656c84c git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@167 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-17 23:23:37 +00:00
Michael Jerris 2afd11a6d2 add test version of jrtp that includes jrtp4c and jthread. Autoconf\Automake needs to be re-run on this and it needs to be tested on unix platforms.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-17 23:03:16 +00:00
Anthony Minessale fb3cb5f0a6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 18:50:29 +00:00
Anthony Minessale 9aab183178 fix pa
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@162 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 18:10:37 +00:00
Michael Jerris 89cfca15ea MSVC project files and generated header files to build pcre 6.4. This can be downloaded from ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.4.tar.gz or http://www.sofaswitch.org/mikej/pcre-6.4.tar.gz To build on msvc, create a subdir in the extracted tar file (called w32 or somthing of the sort), copy the 3 committed files to that dir, and build the appropriate configuration from the vcproj. This file includes both dll and static lib both debug and release.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@161 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 08:56:01 +00:00
Anthony Minessale 033ee66fb1 add untested event changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 23:56:21 +00:00
Anthony Minessale b09fedf7e0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 20:20:57 +00:00
Anthony Minessale 48e62491e1 make eventing cooler, yeah I know it's only 1 day old but... *shrug*
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 19:10:43 +00:00
Anthony Minessale ced29c144d make things work right in windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 00:45:38 +00:00
Anthony Minessale 6630e372c0 more event code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@154 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 22:58:19 +00:00
Anthony Minessale 230c5012a6 more event code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 22:46:09 +00:00
Anthony Minessale 03533ad0f3 make events queue in the bg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 21:29:46 +00:00
Anthony Minessale e16f28d529 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 20:22:19 +00:00
Anthony Minessale 645e48cb82 lame
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 18:11:49 +00:00