169 Commits

Author SHA1 Message Date
Michael Jerris
4110f73cf3 add msvc 2008 sln/project files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 01:40:13 +00:00
Michael Jerris
cc71ce69e0 handle invalid log level strings. (FSCORE-69)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 19:16:50 +00:00
Anthony Minessale
93a5f12368 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 22:57:45 +00:00
Anthony Minessale
8bf63d3d8c add mod_cdr_csv
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 19:51:55 +00:00
Michael Jerris
533c46874e fix build, remove nag message to stderr when in -nc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 13:50:14 +00:00
Anthony Minessale
b2dd6b51f5 change logger stuff and finalize mod_logfile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 20:24:20 +00:00
Michael Jerris
7629d4c652 use function to avoid build error.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 14:42:25 +00:00
Michael Jerris
b010bb1f07 always init the levels array.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 13:25:33 +00:00
Michael Jerris
676c6f5635 another step towards multi-profile file logger.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 13:15:21 +00:00
Michael Jerris
3b4e37baad unused var.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 13:04:49 +00:00
Michael Jerris
16c61ac868 another step towards multi-profile file logger.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 12:52:37 +00:00
Michael Jerris
e338dc3f83 reformat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 03:17:34 +00:00
Michael Jerris
c320b9621d get rid of more globals
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 03:05:29 +00:00
Michael Jerris
1bbda8eb61 put levels in profile too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 03:00:14 +00:00
Michael Jerris
7ed757abf0 step towards profile based mod_logfile. You will need to update your config if you have a logfile.conf.xml already.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 02:36:27 +00:00
Anthony Minessale
a1e9233eff update logger stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 23:47:27 +00:00
Michael Jerris
c26098bac2 mod_logfile code/default config cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 23:06:39 +00:00
Anthony Minessale
26fccbdddb update logger code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 22:36:05 +00:00
Anthony Minessale
fdbb1d43fa removed unused declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 01:29:05 +00:00
Michael Jerris
46a9ef7feb line endings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 21:42:12 +00:00
Michael Jerris
d87cfbdb2c initial check-in of file logger module from anthonyl branch, reworked for current module interface and cleaned up debugging code. More to come on this module.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-27 19:32:55 +00:00
Michael Jerris
99d79d8595 pass loglevel and remove unused params (FSCORE-33)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-27 03:37:05 +00:00
Michael Jerris
48c10de69a use logger interface level and remove unused facility and level config args. (FSCORE-33)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-27 03:14:09 +00:00
Michael Jerris
66501a6cdd build cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 02:46:05 +00:00
Michael Jerris
6959c3ddd7 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5971 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 18:11:43 +00:00
Michael Jerris
2e2befeff4 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 07:39:25 +00:00
Michael Jerris
83c21e77f3 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 07:21:38 +00:00
Michael Jerris
bbffdd99ab cleanup some project file properties and hopefully fix the release build enum issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 04:15:33 +00:00
Anthony Minessale
b099f96e4e format
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 14:59:17 +00:00
Anthony Minessale
ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +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
Michael Jerris
1d38303345 use the right varname
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:17:41 +00:00
Michael Jerris
784c7f8c3d move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:48:49 +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
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
25762b3583 CR/LF -> LF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-24 03:32:24 +00:00
Michael Jerris
36d5176312 add color support to console in windows. Note, I don't like the colors I chose, if someone comes up with better ones, I'd be happy for the patch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-04 22:19:39 +00:00
Anthony Minessale
a99973ca7c add colorize option to mod_console (see in-tree conf/console.conf.xml)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-28 18:28:07 +00:00
Michael Jerris
f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
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
Anthony Minessale
741b8329b9 Modifying the behaviour of the dialplan engine
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.

Syntax:

$varname
${varname}
&func_name(func args)


Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc

Example:

<extension name="1000">
  <condition field="destination_number" expression="^(1000)$">
    <action appplication="my_route_app" data="$1"/>
    <action appplication="bridge" data="$destination"/>
  </condition>
</extension>

Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a 
chance to set the variable 'destination' to the correct value.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale
2bdb4f41b3 fix syslog (thanks justin unger)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 18:58:38 +00:00
Anthony Minessale
780edcd09d optimizations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 00:56:27 +00:00
Michael Jerris
1003a4d404 Cleanups from update to new build system for windows.
More to come.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 07:22:18 +00:00
Michael Jerris
ae380d58ec Update to new build system for windows.
This fixes several issues when debugging code in the ide, and does better dependency tracking.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 19:58:55 +00:00
Michael Jerris
a90b88d201 revert static runtime change for msvc. Bad idea...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 17:44:38 +00:00
Michael Jerris
fea5980a12 Change windows build to use static runtime to make it more easily portable to older windows, and to decrease startup time on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 16:11:08 +00:00
Anthony Minessale
34882f7a60 fix logical error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-11 17:39:50 +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