100 Commits

Author SHA1 Message Date
Rupa Schomaker
89e6324c17 make limit work with neg count like limit_hash
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-18 20:01:30 +00:00
Rupa Schomaker
25585417ab don't use callback for delete stmt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 22:06:36 +00:00
Rupa Schomaker
e4258a83a9 add limit_execute (like limit_hash_execute)
allow -#s to act as counter only
add INFO level logs to limit similar to limit_hash


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 18:13:25 +00:00
Mathieu Rene
9e8848e3d5 MODAPP-334
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-11 16:10:29 +00:00
Mathieu Rene
a75c525dcc mod_limit: fix counter-only mode in limit_hash_execute
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-11 16:03:52 +00:00
Mathieu Rene
9e485b505c mod_limit: set more chan vars in limit_function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-02 15:01:09 +00:00
Rupa Schomaker
c37fb4f068 add memcache support (limit_memcache and friends)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-28 16:18:51 +00:00
Mathieu Rene
5acb8ad899 Per-call logging, part two
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 21:24:51 +00:00
Mathieu Rene
14fda9d617 mod_limit: Avoiding segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-28 20:43:45 +00:00
Mathieu Rene
91726e3a76 mod_limit: fix usage and argument list length
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-28 20:31:36 +00:00
Mathieu Rene
16e4f259c2 mod_limit: Refactor and add limit_hash_execute application (see wiki)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-28 20:19:01 +00:00
Mathieu Rene
21af72d3ea mod_limit: Move over-limit messages down to INFO (MODAPP-308)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 17:57:56 +00:00
Michael Jerris
6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Mathieu Rene
ca5bc07f48 Implement new config parser in mod_voicemail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-20 03:32:29 +00:00
Brian West
4bdd55dd0b fix Makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13699 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 22:06:52 +00:00
Anthony Minessale
ab568f3589 patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 21:52:50 +00:00
Anthony Minessale
dd61d20987 MODAPP-264 prevent multiple bindings of the same event_hooks to make code simpler in mod_limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-22 15:02:32 +00:00
Mathieu Rene
432ef52ce9 mod_limit: Add more error checking to hash api/app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-12 18:35:09 +00:00
Mathieu Rene
78f74328e2 Remove old commented-out code (Im still not a janitor... please)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 18:49:00 +00:00
Brian West
33e5985835 This is way more bettah!
/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 23:38:04 +00:00
Mathieu Rene
2ccace5a41 Attempt to fix limit counter bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 23:28:29 +00:00
Mathieu Rene
8ed510458f mod_limit: close odbc handle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 22:44:14 +00:00
Mathieu Rene
90db12c814 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-12 14:59:51 +00:00
Mathieu Rene
3e7a746201 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-09 17:25:52 +00:00
Mathieu Rene
56293b490f why didnt that work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-09 15:25:05 +00:00
Mathieu Rene
97412d0e13 Add events and a shutdown function to mod_limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 04:56:07 +00:00
Mathieu Rene
bbf213de0a update regex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 02:55:52 +00:00
Mathieu Rene
ec60a3ae0b Implement new config parser in mod_limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-07 02:13:32 +00:00
Michael Jerris
4212af498b build: build path cleanups (FSBUILD-130)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:27:14 +00:00
Mathieu Rene
8fa0ff970a Revert 12370
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:03:48 +00:00
Mathieu Rene
8857e1d8cc fix doxygen comment
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:01:50 +00:00
Anthony Minessale
756575788b create indexes for ODBC as well
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12235 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 01:49:49 +00:00
Michael Jerris
bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Brian West
babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Anthony Minessale
fd252b2544 dont free data that was session_strdup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 19:35:42 +00:00
Mathieu Rene
7b15ce7dc9 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 17:10:51 +00:00
Mathieu Rene
d059925b6e move gdbinit to support-d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 17:09:52 +00:00
Mathieu Rene
ee9d2d4982 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:53:17 +00:00
Mathieu Rene
ad9bf329cb doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:23:00 +00:00
Mathieu Rene
d279dd8e5c Make max argument optional on the limit app, set the limit_usage variable with the current count after inserting the call in the db
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:19:52 +00:00
Mathieu Rene
9b95c86dfe s/^assert/switch_assert/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 20:56:59 +00:00
Mathieu Rene
99e45ef41e fix leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 20:31:29 +00:00
Brian West
ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Michael Jerris
6cec4cf73c fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 23:16:10 +00:00
Mathieu Rene
f8d0521b65 write different channel variables per realm_id
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 03:46:53 +00:00
Mathieu Rene
d0490570ad Fix transfer bug, fix leak and make the channel hangup if the extension is \!hangup_cause
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 02:34:37 +00:00
Anthony Minessale
0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Mathieu Rene
5123e1f2bc tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 04:50:06 +00:00
Mathieu Rene
3b58dd8287 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 04:46:58 +00:00
Mathieu Rene
dc8d294bc9 Make max argument optional, acting as a counter only. Also set limit_usage and limit_rate channel variables upon limit_hash call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 03:53:09 +00:00