Rupa Schomaker
51fe96281c
FS-3676 --resolve mod_lcr - convert assert to log and fix check condition
2011-11-22 16:10:21 -06:00
Rupa Schomaker
f308f56c71
FS-3535 --resolve fix memory leak in mod_lcr
2011-09-30 18:30:35 -05:00
Rupa Schomaker
897e6573fa
FS-2890 --resolve mod_nibblebill, remove on_reporting hook
2011-05-10 08:12:27 -05:00
Rupa Schomaker
5fa9619fe7
mod_lcr - FS-3284 --resolve - fix malformed XML when has embedded %s
2011-05-09 11:21:04 -05:00
Rupa Schomaker
3dca2ebb00
mod_lcr - FS-3283 --resolve fix as xml for larger number of arguments
2011-05-09 11:21:03 -05:00
Rupa Schomaker
973a850dbb
Lower NAT port mapping disabled log msg from WARNING to INFO
2011-04-19 14:21:33 -05:00
Rupa Schomaker
98a950165a
FS-1792 - add API uuid_limit - thanks to François Delawarde
2011-03-28 18:24:01 -05:00
Rupa Schomaker
084819a331
Fix FS-3199
2011-03-28 18:17:59 -05:00
Rupa Schomaker
1c1df1f772
mod_lcr: FS-2820 - profile support in dialplan module
2010-11-17 09:34:09 -06:00
Rupa Schomaker
a53933eddb
NAT refresh in own thread
2010-09-13 12:12:04 -05:00
Rupa Schomaker
eaeabc7b04
MODAPP-454 - mod_lcr: don't count twice
2010-09-09 11:07:11 -05:00
Rupa Schomaker
c6a4ddd0ba
FSMOD-69 - mod_curl - use method=post when post requested
2010-09-01 07:00:33 -05:00
Rupa Schomaker
a7c31e6fe9
FSCORE-637 - limit - reset rate and release resource apis
...
Thanks Moy
2010-07-20 22:21:32 -05:00
Rupa Schomaker
cf9ddfa807
limit_hash_usage - no session in api
2010-07-19 22:56:09 -05:00
Rupa Schomaker
6420099cc9
mod_lcr: assign default profile even if testing is skipped
2010-07-19 11:18:34 -05:00
Rupa Schomaker
f10eebf86f
FSCORE-632 - limit not decrementing properly
2010-07-19 10:16:15 -05:00
Rupa Schomaker
548c9061ab
MODAPP-441: mod_lcr: add lcr_user_rate to imported a-leg vars
2010-07-13 06:07:49 -05:00
Rupa Schomaker
001705588e
mod_lcr: fix dialplan issues with default profile and logging when no
...
caller_profile set
2010-07-07 13:56:38 -05:00
Rupa Schomaker
af33afaa61
mod_lcr: don't validate profiles with ${} vars since they are dynamic
...
and we can't guess what the proper value should be
2010-07-06 23:45:00 -05:00
Rupa Schomaker
612356b7b6
Revert "switch to switch_cache_db_dismiss_db_handle to reduce odbc"
...
This reverts commit ab3d7d144e .
2010-07-05 11:11:22 -05:00
Rupa Schomaker
9741086975
Revert "mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant"
...
This reverts commit 6449861e02 .
2010-07-05 11:11:07 -05:00
Rupa Schomaker
4e1d522198
oops, compile fix
2010-07-02 00:13:44 -05:00
Rupa Schomaker
4294d0a79d
if missing db.conf.xml don't fail, just use sqlite
2010-07-02 00:03:13 -05:00
Rupa Schomaker
c0246b1143
add some docs to the switch_cache_db_* functions
2010-06-29 16:18:44 -05:00
Rupa Schomaker
6449861e02
mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant
...
db connections under heavy load.
2010-06-29 16:04:45 -05:00
Rupa Schomaker
ab3d7d144e
switch to switch_cache_db_dismiss_db_handle to reduce odbc
...
usage under heavy switch load
2010-06-29 16:00:44 -05:00
Rupa Schomaker
4869da2370
MODAPP-437 - event backend should be db not sql
2010-06-23 13:52:53 -05:00
Rupa Schomaker
8c8d962e3a
fix perms
2010-06-21 09:51:57 -05:00
Rupa Schomaker
b36f2a23bf
timer based nat_map refresh
2010-06-21 09:51:57 -05:00
Rupa Schomaker
cb6f978d93
mod_limit is now a backwards compatible shim
2010-06-20 19:03:38 -05:00
Rupa Schomaker
4c6a030a84
debian limit -> db/hash migration
2010-06-20 19:03:38 -05:00
Rupa Schomaker
c928904a83
add mod_hash
2010-06-20 19:03:38 -05:00
Rupa Schomaker
ea71a2401e
backward compat mod_limit.c
2010-06-20 19:03:38 -05:00
Rupa Schomaker
be2bd3c180
fix perms
2010-06-20 19:03:38 -05:00
Rupa Schomaker
a040a605e6
add backward compatible shims
2010-06-20 19:03:38 -05:00
Rupa Schomaker
e3654d611c
mod_lcr: update custom_sql syntax
2010-06-19 20:34:55 -05:00
Rupa Schomaker
d8facbcf71
mod_lcr update. MODAPP-340, MODAPP-355
...
arbitrary b-leg vars, limit support, lcr/ endpoint
custom_sql now is field based rather than position based
NOTE: custom_sql is incompat with prior version
2010-06-19 20:08:06 -05:00
Rupa Schomaker
d5ad29b585
typo
2010-06-19 20:07:39 -05:00
Rupa Schomaker
1c17da93ef
rationalize some logging
2010-06-19 19:06:27 -05:00
Rupa Schomaker
61fb1d72ca
modules.conf.xml: limit -> db/hash
2010-06-19 19:04:19 -05:00
Rupa Schomaker
9b5778f8e1
dup -ERR so we can free it later
2010-06-19 14:49:15 -05:00
Rupa Schomaker
f76f836b0e
rename sql to db for limit backend to make consistent
2010-06-19 10:58:58 -05:00
Rupa Schomaker
6f0d7a7bcf
remove WTF
2010-06-19 08:12:00 -05:00
Rupa Schomaker
415b4589ac
revert mod_lcr changes
2010-06-19 08:08:42 -05:00
Rupa Schomaker
ab2165c56b
fix tab
2010-06-19 07:49:34 -05:00
Rupa Schomaker
3f4ca2d3ac
MODAPP-407
2010-06-19 07:49:34 -05:00
Rupa Schomaker
0e8a26f840
sync changes in branch rupa_limit
2010-06-19 07:49:34 -05:00
Rupa Schomaker
f6eda2c23b
fix check for NANPA
2010-06-19 07:48:48 -05:00
Rupa Schomaker
095815f83b
mod_cidlookup: null xml is bad
2010-05-26 20:58:16 -05:00
Rupa Schomaker
70bf7a0a6f
MODAPP-427 - mod_lcr: add enable_sip_redir parameter
2010-05-20 10:41:21 -05:00
Rupa Schomaker
5530de66ef
patch cleanup - forgot a .rej file
2010-05-12 03:32:18 -05:00
Rupa Schomaker
35dc511c67
remove patch left-overs (.orig and .rej files)
2010-05-12 03:31:27 -05:00
Rupa Schomaker
b472913683
correct error msgs
2010-04-29 08:34:53 -05:00
Rupa Schomaker
b9ddf2c3ad
oops, SWITCH_TIME_T_FMT instead
2010-04-20 12:33:43 -05:00
Rupa Schomaker
995c4277da
more %lu->SWITCH_SIZE_T_FMT
2010-04-20 12:21:46 -05:00
Rupa Schomaker
f1e07625db
%lu -> SWITCH_SIZE_T_FMT
2010-04-20 12:11:07 -05:00
Rupa Schomaker
9a74958b22
nibblebill - free properly if using custom_sql
2010-04-19 14:42:41 -05:00
Rupa Schomaker
ca9dfc3c5e
nibblebill - free allocated memory at shutdown
2010-04-19 13:18:20 -05:00
Rupa Schomaker
3a53af9012
evesdrop - aquire/release db connection for channel query only
2010-04-19 08:51:42 -05:00
Rupa Schomaker
4988ef87a7
MODAPP-418
2010-04-10 13:23:13 -05:00
Rupa Schomaker
073a7ac36b
Merge branch 'master' of git.freeswitch.org:freeswitch
...
* 'master' of git.freeswitch.org:freeswitch:
The .version file should die on a git pull.
Skinny: Hook the proper line
Skinny: unused variable
Skinny: security
2010-04-02 09:35:25 -05:00
Rupa Schomaker
2495ed2b9a
update description
2010-04-02 07:35:52 -05:00
Rupa Schomaker
256274ac33
MODAPP-412 - improve rate limit support
...
add switch_core_hash_delete_multi
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 16:11:24 +00:00
Rupa Schomaker
5970ca045b
MODAPP-409 - fix typo on conf file
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 20:53:26 +00:00
Rupa Schomaker
39255be81c
MODAPP-409 - update default config with commented out examples
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 17:14:01 +00:00
Rupa Schomaker
8f273eed5f
MODAPP-409 Support custom sql with var expansion
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 17:11:30 +00:00
Rupa Schomaker
68a7622647
bump json lib to 0.9
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-17 02:35:03 +00:00
Rupa Schomaker
e222f74cbb
fix typo in typo fix :)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-09 19:00:47 +00:00
Rupa Schomaker
bceeff642a
spelling in comments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-09 18:45:40 +00:00
Rupa Schomaker
2377367d05
FSMOD-40 - handle CS_REPORTING like CS_HANGUP
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-09 17:46:00 +00:00
Rupa Schomaker
869948d333
theoretically add support for VS++
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 19:04:10 +00:00
Rupa Schomaker
4a9fc2c731
FSMOD-38 - support redirection
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 17:43:28 +00:00
Rupa Schomaker
969688a0d3
even more mod_shout logging
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:53:02 +00:00
Rupa Schomaker
66c0f8f735
more logging for mod_shout
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:15:22 +00:00
Rupa Schomaker
f55304d30b
add some more error logging
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 17:39:41 +00:00
Rupa Schomaker
5dc4d68862
libmemcached's ./configure is failing with --prefix and friends so use
...
a simplified version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-15 23:59:36 +00:00
Rupa Schomaker
4f5975ae4c
MODAPP-339, plus fix heartbeat when doing b-leg billing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 23:31:03 +00:00
Rupa Schomaker
308fc55f72
check for network_ip for sip_shared_appearance_dialogs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 19:19:27 +00:00
Rupa Schomaker
ed85c13cce
add expires to sip_dialogs test for dropping table
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 18:54:17 +00:00
Rupa Schomaker
6d47019937
nobal_amt and lowbal_amt channel vars can override defaults in config
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-11 15:01:21 +00:00
Rupa Schomaker
a40623e605
document tracelevel, add completion for tracelevel
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-10 14:49:32 +00:00
Rupa Schomaker
920f339a89
add more to error msg when dsn is null
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-09 15:40:18 +00:00
Rupa Schomaker
60aa798d2e
don't have defaults for dsn,user,pass so that user/pass at least can be
...
specified by the real dsn
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-09 15:36:53 +00:00
Rupa Schomaker
03009d648c
exclude rows with the current call_id - could be an endpoint updating it's
...
registration while we're at max_registrations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-04 14:50:53 +00:00
Rupa Schomaker
86e022f516
BOUNTY-15 - add user-agent-filter and max-registrations-per-extension
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-02 21:04:41 +00:00
Rupa Schomaker
639d72cbc8
update timer_test help
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-02 20:55:09 +00:00
Rupa Schomaker
ab9299bc37
don't check config.status if it doesn't exist
...
add /opt/freeswitch as a prefix to test
fix test for gdb
don't run svn stuff if not in a svn managed directory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-01 15:29:40 +00:00
Rupa Schomaker
68b7d35dc3
do not allow vars in looked up CIDs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 18:38:30 +00:00
Rupa Schomaker
924a89ff6a
change curl usage. Was to support google contacts...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 18:07:54 +00:00
Rupa Schomaker
3c252f6cde
MODAPP-354 - add sql_escape
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 17:55:39 +00:00
Rupa Schomaker
1cbfa9002c
add nosignal
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-18 20:16:37 +00:00
Rupa Schomaker
b78a8b3236
remove memcache version, it never worked right and is unworkable w/out a lot
...
of effort. will revisit when pluggable limit implemented
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 16:14:52 +00:00
Rupa Schomaker
a111968873
choose CURLOPT_TIMEOUT variant at compile time, use MS if available
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 15:54:10 +00:00
Rupa Schomaker
dac51bf526
urggh, TIMEOUT_MS needs libcurl 7.16.2, we have 7.16.0
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15685 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 15:25:19 +00:00
Rupa Schomaker
ca55ba252f
don't leak db connections (ok, only 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15684 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 06:59:57 +00:00
Rupa Schomaker
5828d178de
add shorter timeout + warn on slow responses
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 06:13:10 +00:00
Rupa Schomaker
7dc4612e2f
use new cache db api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 05:38:43 +00:00
Rupa Schomaker
ae2ed8f5d8
use new cached odbc api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15680 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 03:54:04 +00:00
Rupa Schomaker
a7c5217450
some cases the cid is set back to NULL, alloc a new one if needed
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-06 08:45:58 +00:00
Rupa Schomaker
243828ad39
proper fix for working in npanxx only mode (thanks for the heads up bkw)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 04:20:09 +00:00