157 Commits

Author SHA1 Message Date
Chris Parker
328cf31cb3 UINT4 to uint32_t, so we can be C99 at least
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-11 18:04:56 +00:00
Chris Parker
d09954a283 Remove extraneous -l from CFLAGS macro to quiet a linker complaint
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-26 15:32:12 +00:00
Michael Jerris
c01e8d3e52 those who lock, should also unlock...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5450 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 03:42:11 +00:00
Anthony Minessale
a039d870c3 Add events around all application execution:
fire SWITCH_EVEHT_CHANNEL_EXECUTE
<execute app>
fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE

This can be used in async socket connections to tell
when a queued application has finished executing.



Add the "event" application to the dialplan:

<action application="event" data="header1=val1,header2=val2"/>

Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.

You can add up to 25 headers of your own to the event via the application arguements.





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 05:41:07 +00:00
Chris Parker
80a72ea2f1 Remove uneeded module_pool declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:45:28 +00:00
Chris Parker
52fd99666d Changes to new macro initialzation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:41:55 +00:00
Michael Jerris
ae02cbef83 add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:53:33 +00:00
Chris Parker
58df6f8886 Updated trunk build instructions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-18 15:26:44 +00:00
Chris Parker
ad7b07c3c9 Updated build instructions and added sample config files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 14:38:45 +00:00
Chris Parker
dc45317202 README file documenting how to build mod_radius_cdr in current trunk, as it is not built by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 14:31:02 +00:00
Chris Parker
38d953ed11 Initial mod_radius_cdr merge into trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 14:15:24 +00:00
Michael Jerris
01b5817179 fix windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:49:45 +00:00
Anthony Minessale
95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris
b67f9c5b2a move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:06:10 +00:00
Anthony Minessale
efca0c8087 hack up the core with a butcher knife
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 21:00:26 +00:00
Anthony Minessale
91cb42b7ea fix accidental missing event enum name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 15:17:43 +00:00
Michael Jerris
521eac756e create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +00:00
Michael Jerris
a4ff7e88da adding const qualifiers across the api as appropriate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Michael Jerris
1a4547de25 commit patch from http://jira.freeswitch.org/browse/MODAPP-7, thanks Marcel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 22:59:07 +00:00
Michael Jerris
12c47bf96f change switch_console_printf to switch_log_printf in mod_cdr. Patch from MODAPP-6, thanks Marcel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-12 18:14:30 +00:00
Michael Jerris
d874ea6b94 we can just use the flags that configure detects
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 09:49:16 +00:00
Michael Jerris
778a82cc92 a bit better on the mysql detection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 09:38:11 +00:00
Michael Jerris
a75defc898 fix mod_cdr build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 22:18:53 +00:00
Anthony Minessale
c15d7892c0 indent again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris
677ebfff2b fix bsd make compile of mod_cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 14:47:31 +00:00
Michael Jerris
490f53c183 use better tricks in mod_cdr Makefile.am so we don't get warnings about duplicate targets, and so we can move all our tricks into configure soon
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 02:58:02 +00:00
Michael Jerris
7df787b72d add proper autoconf checks for mysql client and convert mod_cdr to automake makefile so that we can use AM_CONDITIONALS for the mysqlcdr build selection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 06:08:17 +00:00
Michael Jerris
9070ba0e14 remove gmakeisms from the mod_cdr makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 12:16:46 +00:00
Michael Jerris
ce81898c5d null format string error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 00:41:23 +00:00
Michael Jerris
940bf73b72 Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.
Eliminate some more gmakeisms in the modules makefiles




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 08:40:10 +00:00
Michael Jerris
70a70aa922 Remove the requirement to define MODNAME in the module makefiles.
Remove gmakeisms from the modmake.rules module makefile include
Remove the MODNAME def from all the in tree Makefiles



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 05:49:57 +00:00
Michael Jerris
18b47de4b2 do a better job with dependency tracking so the the mods don't keep trying to build or install when they don't need to. This should start to help with the speed of the build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 04:32:09 +00:00
Michael Jerris
be228edc1f move a couple more mods to use getlibs with static non-installed builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 21:48:31 +00:00
Michael Jerris
b196ff7205 add support for doing make from the module directory of the in tree modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4586 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 18:23:49 +00:00
Brian West
08d15071a4 fix spelling, Everyone do not forget to thank Mike for all his hard work.. he need sleep now. ;) ./applications/mod_enum/Makefile
./asr_tts/mod_cepstral/Makefile
./asr_tts/mod_lumenvox/Makefile
./codecs/mod_amr/Makefile
./codecs/mod_g711/Makefile
./codecs/mod_g722/Makefile
./codecs/mod_g723_1/Makefile
./codecs/mod_g726/Makefile
./codecs/mod_g729/Makefile
./codecs/mod_gsm/Makefile
./codecs/mod_ilbc/Makefile
./codecs/mod_lpc10/Makefile
./codecs/mod_speex/Makefile
./directories/mod_ldap/Makefile
./endpoints/mod_dingaling/Makefile
./endpoints/mod_iax/Makefile
./endpoints/mod_portaudio/Makefile
./endpoints/mod_sofia/Makefile
./endpoints/mod_wanpipe/Makefile
./event_handlers/mod_cdr/Makefile
./event_handlers/mod_xmpp_event/Makefile
./event_handlers/mod_zeroconf/Makefile
./formats/mod_shout/Makefile
./formats/mod_sndfile/Makefile
./languages/mod_mono/Makefile
./languages/mod_perl/Makefile
./languages/mod_python/Makefile
./languages/mod_spidermonkey/Makefile
./languages/mod_spidermonkey_core_db/Makefile
./languages/mod_spidermonkey_etpan/Makefile
./languages/mod_spidermonkey_odbc/Makefile
./languages/mod_spidermonkey_skel/Makefile
./languages/mod_spidermonkey_teletone/Makefile
./xml_int/mod_xml_curl/Makefile
./xml_int/mod_xml_rpc/Makefile

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 05:17:17 +00:00
Michael Jerris
514bde18c7 an attempt to simplify the module make files. More changes to come on the modules building soon
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 04:21:54 +00:00
Michael Jerris
a072ce8a58 no need to install, no need for buildlib.sh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 15:36:04 +00:00
Michael Jerris
ee3fc89f69 move all the in tree libs to use subst of the core configure, move all module builds to link with libtool to the .la, static when possible
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 14:03:58 +00:00
Michael Jerris
499fba1651 fix sqlite cdr build with new sqlite wrapper in the core, exposing all the necessary functions. Add sqlite cdr to the windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-10 21:57:02 +00:00
Michael Jerris
42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Yossi Neiman
4a2940d81b Minor changes for MikeJ's switch_strlen_zero() and a minor refactor of BaseCDR::BaseCDR(switch_mod_cdr_newchannel_t*). Added a sample config file, perhaps somebody can edit the makefile to copy this into the configuration when this module is enabled for build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-28 22:28:03 +00:00
Michael Jerris
3e3760a996 add flags to the application interface for marking if apps support no media mode. FSCORE-7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-26 21:38:10 +00:00
Anthony Minessale
a644b549c5 remove redundant strlen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4357 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:43:07 +00:00
Michael Jerris
db797b8130 match new prototype for switch_ivr_park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:12:20 +00:00
Michael Jerris
b8d838640e %d can't take the long long result.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:15:51 +00:00
Michael Jerris
11a8218db0 potential format string exploits (warning: format not a string literal and no format arguments)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
f5de340dcc some msvc warnings that I re-enabled came back due to messy header files in some libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:38:12 +00:00
Michael Jerris
64c3ecf288 use switch_log_printf instead of switch_console printf so it will hit other logger services.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:31:23 +00:00