Commit Graph
5447 Commits
Author SHA1 Message Date
Michael Jerris b2668daad3 start to move vcproj files into the mod directories so that each module can have it's own buildlog that does not get overwritten.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@219 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 06:13:59 +00:00
Michael Jerris c1bf143f19 fix sndfile msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 05:58:57 +00:00
Anthony Minessale 24b9c3391e git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@217 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-28 05:17:21 +00:00
Michael Jerris 93233fd8f5 back how it was... need to fix this still for msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 00:02:58 +00:00
Michael Jerris 7b5bb11138 msvc build for mod_sndfile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 22:48:58 +00:00
Anthony Minessale 094acc5dd3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 20:15:00 +00:00
Anthony Minessale dad4780765 sndfile tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 19:52:30 +00:00
Anthony Minessale 378ce8e115 let codecs and timers use existing pool and add new file i/o backend
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 18:46:12 +00:00
Anthony Minessale a0d199af73 let codecs and timers be init with an existing pool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 21:01:22 +00:00
Anthony Minessale 8c964a5c85 test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:58:42 +00:00
Anthony Minessale c394ef828c cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:45:58 +00:00
Anthony Minessale b4845b9ff1 ok gsm works
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:09:59 +00:00
Anthony Minessale ad4559308b work on gsm blindly with no testing conditions so it probably needs more =D
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-24 03:00:29 +00:00
Anthony Minessale f3d711ccae event cleanup from windows perspective
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 21:09:36 +00:00
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 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 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
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
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