Commit Graph

20153 Commits

Author SHA1 Message Date
Anthony Minessale fabaf64c3c misc_update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:58:17 +00:00
Anthony Minessale 6adccbb30d sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:34:56 +00:00
Michael Jerris e787af53bc tweak fix for apr doxygen.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:30:07 +00:00
Michael Jerris 49a0eb2955 generate switch_version.h in autotools builds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 23:13:00 +00:00
Michael Jerris 96b6fb70cf git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@288 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-01-05 22:53:52 +00:00
Michael Jerris 94bb9e855d Create switch_version.h on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 22:51:01 +00:00
Anthony Minessale 4e64802ef6 lame
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 22:34:26 +00:00
Michael Jerris 418ba6863d tweak to apr doxygen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:57:44 +00:00
Anthony Minessale 16d6848af7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:34:51 +00:00
Anthony Minessale dcc5720728 castaway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:05:46 +00:00
Anthony Minessale a4d3a30ac2 what's up doc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:03:22 +00:00
Anthony Minessale 8a292bf0b2 stupid crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-04 01:04:33 +00:00
Anthony Minessale ecfea1b594 update vcproj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 23:14:28 +00:00
Anthony Minessale d934a136f0 put mods in subdirs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:36:56 +00:00
Anthony Minessale 6d6a7d672a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:18:05 +00:00
Anthony Minessale 2f386096ce update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:15:22 +00:00
Anthony Minessale cdd35a6ac5 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:15:03 +00:00
Anthony Minessale 649c6e6424 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:14:38 +00:00
Anthony Minessale d62e63e86d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:14:23 +00:00
Anthony Minessale 6668d0282f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:13:59 +00:00
Anthony Minessale e736eabb20 move gsm to automake and make it work in unix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 21:58:16 +00:00
Michael Jerris bedcabb8ec cleanup and formating
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 01:17:59 +00:00
Michael Jerris 900c08571b and a few corrections to the docs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 00:48:52 +00:00
Michael Jerris dc31a8ecd3 complete first go through of doxygen for the apr\apu based functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 00:10:18 +00:00
Michael Jerris 4c3434b0a7 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 22:45:50 +00:00
Michael Jerris e29d980b68 More doxygen fun.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 22:36:01 +00:00
Michael Jerris 5eb15f329e more apr doxygen, this time, it works right!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 20:32:26 +00:00
Anthony Minessale a642381f25 unix retool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 18:31:50 +00:00
Anthony Minessale 111a0f6deb resample into core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 17:28:59 +00:00
Michael Jerris 7dc6dd3f5a doxygen of switch thread funcs from apr.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 15:14:19 +00:00
Michael Jerris ba38f7cff3 some more doxygen stuff... still a LOT to go.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 05:00:28 +00:00
Michael Jerris f78b600507 initial doxygen. Much, much more to go.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-01 15:23:12 +00:00
Michael Jerris d5945f8174 add libresample to core libs in msvc build, rework GetLibs.vbs to be more sensible in it's structure, change jrtp4c build in msvc to build as part of mod_exosip instead of as a separate lib for build simplicity, squash numerous warnings in libiax2 and jrtp4c, delete FreeswitchPlusLibs.sln because we were not using it and not maintaining it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-01 04:53:18 +00:00
Anthony Minessale 48a3c004a9 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@248 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-30 18:52:20 +00:00
Anthony Minessale dad1eb7c83 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:41:44 +00:00
Anthony Minessale d1764080c7 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:26:38 +00:00
Michael Jerris 480d1ac279 fix some size_t\int warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:20:21 +00:00
Michael Jerris ae8a088c4d bridgecall msvc project file tweak. Put exp and lib file in outdir under the module, not the global outdir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:06:36 +00:00
Anthony Minessale e98104d109 Add rate to frames and a bunch of evil resample code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 00:00:21 +00:00
Michael Jerris 0fbf3f5af0 a little more header juggling.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 19:14:05 +00:00
Michael Jerris cb53fc6ef5 tweak include order
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 17:28:54 +00:00
Michael Jerris 975a087ac4 juggle the header files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 17:25:28 +00:00
Anthony Minessale 4de3b2c077 a little more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@235 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 05:36:23 +00:00
Michael Jerris a66ef851ba fix linefeeds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 02:28:32 +00:00
Anthony Minessale 50a65440ac but it should compile doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 00:27:18 +00:00
Anthony Minessale 82d141df73 getting ready for auto resample in opposing versions of SLIN codec
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 00:26:17 +00:00
Anthony Minessale 99e7acce6b resample
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@231 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 21:07:23 +00:00
Anthony Minessale 44ea30cd54 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 21:00:36 +00:00
Michael Jerris b7ef260197 add libresample to mod_rawaudio in msvc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 20:53:32 +00:00
Michael Jerris 7a5aa1186a fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 20:10:51 +00:00
Anthony Minessale e7c060b8b9 add channels arg to codec
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 20:06:03 +00:00
Anthony Minessale be19275578 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@224 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-28 17:11:47 +00:00
Anthony Minessale d5eaa0bdc9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 15:42:49 +00:00
Michael Jerris 070e850c57 Finish moving msvc vcproj files into the corresponding module directories.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 07:53:58 +00:00
Michael Jerris 49f595176d Fix msvc build configurations so debug builds all debug modules and release builds all release modules. Fix a few warnings in switch_core.c.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 07:01:21 +00:00
Michael Jerris 4945ad6381 fix msvc lib build for gsm codec.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 06:34:18 +00:00
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
Anthony Minessale c01ecc8f20 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 17:02:57 +00:00
Anthony Minessale 905d424939 blah
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@148 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 16:41:20 +00:00
Michael Jerris 6b2a156651 add event system to msvc project files, make build and fix a warning.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@147 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 01:52:04 +00:00
Anthony Minessale 7125eac731 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@146 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 01:40:51 +00:00
Michael Jerris f459a826b5 A little bitty cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 22:30:12 +00:00
Anthony Minessale 1c318ac0ee arrgh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:20:47 +00:00
Anthony Minessale 9a199db004 mac
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:04:03 +00:00
Anthony Minessale 2620e0aa30 events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:52:33 +00:00
Anthony Minessale 5029016e17 event_test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:50:32 +00:00
Anthony Minessale 7db337c1e3 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@129 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:08:05 +00:00
Anthony Minessale 40824bc41a add event system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 19:53:29 +00:00
Michael Jerris 611e80432e move libg729 to codec dir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@127 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:44:46 +00:00
Anthony Minessale 9e5c159002 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 16:46:02 +00:00
Anthony Minessale d44cc5172e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 21:30:03 +00:00
Anthony Minessale 6e1f64207b let mod_portaudio get inbound calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 21:01:17 +00:00
Anthony Minessale 6fd5a33dbf codec improvement
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 17:50:07 +00:00
Anthony Minessale 0ad907ea46 fix codec
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 22:37:21 +00:00
Anthony Minessale 05ee76b30a git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@112 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-10 19:34:35 +00:00
Michael Jerris 8192167589 fix a little warning.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 18:19:54 +00:00
Michael Jerris dda6be49dd small fixes for g729 lib compiling and speex loading.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 17:55:46 +00:00
Michael Jerris fc008444f7 Added speex codec to solution including autodownload of speex from speex.org. Added scripted build of g729 build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 04:42:08 +00:00
Anthony Minessale f467114570 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@108 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-10 04:18:48 +00:00
Anthony Minessale d79ff1c66e git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@107 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-10 03:10:23 +00:00
Michael Jerris 0ce22f5ac7 g729 codec add (this needs to leave somwhere else)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 02:12:03 +00:00
Anthony Minessale 77980897b9 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@105 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-10 01:59:43 +00:00
Anthony Minessale b4e75a2743 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@104 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-10 01:14:49 +00:00
Anthony Minessale c5174dbcc8 OMG this rocks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 22:19:08 +00:00
Anthony Minessale 86c1904cce update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:33:21 +00:00
Anthony Minessale bbb07474a7 adding some shit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:23:04 +00:00
Anthony Minessale c104ba366b portaudio stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@99 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 02:02:05 +00:00
Anthony Minessale 64e29f7b16 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@96 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 23:15:08 +00:00
Anthony Minessale 8fab3d501f Add portaudio files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@95 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 23:10:59 +00:00
Anthony Minessale e85eefe7f2 let modules see the filename they were called as
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@94 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 18:31:49 +00:00
Anthony Minessale e6cdee481c git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@93 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-07 19:28:27 +00:00
Anthony Minessale 513552692c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@92 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-07 16:32:47 +00:00
Anthony Minessale 655338b453 iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@91 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-07 03:49:31 +00:00
Anthony Minessale 46b0e12a66 merge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@90 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 21:25:56 +00:00
Michael Jerris 935c23ca8b first part of iaxchan windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@89 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 21:25:10 +00:00
Anthony Minessale b15265cbdb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@88 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 18:19:43 +00:00
Anthony Minessale 0e9c848ac3 iax and empty core for opal
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@87 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:19:44 +00:00
Anthony Minessale 8311b9a01a iax and empty core for opal
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@86 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:18:56 +00:00
Anthony Minessale 749dd8e841 commmit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@80 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-30 22:27:10 +00:00
Michael Jerris 86ffdd7e6c fixed the last of the warning messages in MSVC in mod_exosip.c. There are now no warning messages at all in all of the freeswitch code. The dependency libs are still another story.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@63 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 18:17:35 +00:00
Michael Jerris f8b4096961 Suppress MSVC 8 warnings about crt functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@62 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 16:49:14 +00:00
Michael Jerris d589778755 More win32 build cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@57 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 00:45:09 +00:00
Michael Jerris aea6b816df freeswitch win32 reorg and cleanup part 1. Everything works but mod_exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@56 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 22:18:34 +00:00
Michael Jerris b266ae8b11 Moved remotely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@48 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:09:09 +00:00