Anthony Minessale
4ae8282e6c
fix possible bad pointer in global vars (please test)
2011-02-02 15:43:26 -06:00
Daniel Swarbrick
c8f5c66c35
mostly complete implementation of channel list via SNMP
2011-01-31 15:41:58 +01:00
Daniel Swarbrick
068d36a5c9
partial implementation of channel list via snmp
2011-01-28 22:32:26 +01:00
Daniel Swarbrick
b3ac44f555
add support for getting current call count
2011-01-28 20:36:18 +01:00
Daniel Swarbrick
08f494b808
typo
2011-01-28 20:14:10 +01:00
Daniel Swarbrick
608be370bc
reduce agentx heartbeat to 2s, add management hook for mutex lock/unlock
2011-01-27 21:33:17 +01:00
Anthony Minessale
7c62476711
revert change from 2800ea199d6c233fe0aeee91de3be33dfee19607 and add disconnect packet on listener kill
2011-01-25 14:13:22 -06:00
Daniel Swarbrick
83d5cd6ff6
whoops, tab craziness
2011-01-25 20:04:29 +01:00
Daniel Swarbrick
4b731fd64c
tidy up subagent and #defines
2011-01-25 20:00:32 +01:00
Daniel Swarbrick
636c1ecb4e
wrap potentially non-threadsafe snmp operations in mutex; support snmpwalk in subagent
2011-01-25 19:19:31 +01:00
Daniel Swarbrick
6477d3f87e
make mod_snmp module unload more failsafe
2011-01-25 00:27:18 +01:00
Andrew Thompson
9fe440b2fe
mod_erlang_event Add proper locking for the list of XML bindings
2011-01-21 21:53:03 -05:00
Andrew Thompson
4eccdfef58
mod_erlang_event: Don't urlencode events (and destroy an event after use)
2011-01-21 21:47:46 -05:00
Daniel Swarbrick
6e2b1bd328
initial checkin of mod_snmp
2011-01-21 21:05:01 +01:00
Anthony Minessale
d2c34232ab
fix userauth issue
2011-01-12 15:32:46 -06:00
Brian West
3734f4cd44
bump copyright date and fix some email and typos from diego.
2011-01-05 10:09:04 -06:00
Daniel Swarbrick
8b7fd76d3d
use switch_zmalloc() instead of apr pools for short term storage, rename a couple of funcs to be clearer as to their purpose
2011-01-03 22:09:46 +01:00
Daniel Swarbrick
df090a2a6b
free() -> switch_safe_free()
2011-01-03 21:39:36 +01:00
Daniel Swarbrick
66ce95a930
removing my debug :o
2011-01-03 19:10:15 +01:00
Daniel Swarbrick
a3d66bb4f0
mod_cdr_pg_csv: make disk spool format user-selectable
2011-01-03 18:59:53 +01:00
Daniel Swarbrick
80f3281c09
whitespace fixups
2011-01-03 15:05:24 +01:00
Daniel Swarbrick
aab453f52a
tweak create.sql and config file
2011-01-03 14:01:08 +01:00
Daniel Swarbrick
93bbbe96af
Remove event_handler() altogether, since it was doing nothing anyway
2011-01-03 13:36:20 +01:00
Daniel Swarbrick
935f2c4214
mod_cdr_sqlite has no need for (yet) for SIGHUP
2011-01-03 13:27:08 +01:00
Daniel Swarbrick
2632af929d
FS-2953
2011-01-03 12:52:25 +01:00
Daniel Swarbrick
2be3175ae9
mod_cdr_pg_csv now spools the attempted SQL to disk if DB insert fails, instead of writing CSV. This should make it simpler to import any failed inserts.
2010-12-31 20:54:20 +01:00
Daniel Swarbrick
9ab7473cb9
Drop a-table/g-table stuff, use single DB table. Filtering should be done by SQL
2010-12-31 20:13:45 +01:00
Daniel Swarbrick
0e31a974d4
Code cleanup, saner way of stripping chars from string
2010-12-31 03:10:50 +01:00
Daniel Swarbrick
0f95b87035
Drop transaction BEGIN/END around INSERT. We're only executing one command, and autocommit will automatically rollback if the INSERT fails.
...
Sync state_handlers with mod_cdr_csv. Minor libpq fixups.
2010-12-31 00:18:03 +01:00
Daniel Swarbrick
18feeb1067
Coding style, fix some C90 warnings about mixed decls/code
2010-12-31 00:01:53 +01:00
Daniel Swarbrick
5401c60493
fix CR line endings
2010-12-30 23:43:03 +01:00
Daniel Swarbrick
f625fe3b01
Add SQLite CDR module
2010-12-30 20:38:49 +01:00
Anthony Minessale
534d3bcb29
fix userauth for real
2010-12-29 14:44:05 -06:00
Anthony Minessale
39ff276c1c
nm
2010-12-29 14:13:17 -06:00
Anthony Minessale
08955a2b29
fix userauth
2010-12-29 13:59:12 -06:00
Anthony Minessale
2800ea199d
tune event socket params a bit
2010-12-16 11:34:02 -06:00
Brian West
89dbe0b0a0
ESL-52
2010-11-22 17:06:59 -06:00
Andrew Thompson
6941c6eb71
FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti)
2010-11-15 12:39:54 -05:00
Anthony Minessale
5875905285
FS-2827
2010-11-08 10:14:46 -06:00
Andrew Thompson
1ffff099c1
Avoid checking the lengh of a null string.
2010-10-18 03:18:35 -04:00
Andrew Thompson
dc40a7789c
Arrays are 0 indexed in C, duh
2010-10-17 16:19:38 -04:00
Andrew Thompson
094ffe37cc
mod_erlang_event: Support for reading erlang cookie from a file
...
mod_erlang_event will now try to read $HOME/.erlang.cookie if no cookie
is specified in the config file. You can specify an arbitary cookie file
via the 'cookie-file' parameter in the config file. The cookie file MUST
be readable by the user freeswitch is running as (either the owner or
root) and the file MUST NOT be readable/writeable/executable by any
other user (eg 0400 permissions). Thanks to James Aimonetti for the idea
and the original patch.
2010-10-15 23:40:57 -04:00
Andrew Thompson
08d6b4339c
Fix hostname guessing to work when some stupid DNS server resolves 0.0.0.0
...
Also, fix names containing a @ to work right
2010-08-29 10:59:10 -04:00
Andrew Thompson
2e8ece4fba
Patch (with changes) from Micah Warren to add 'setevent' which is a mostly-atomic nixevent ALL + a event subscription
2010-08-27 21:16:55 -04:00
Andrew Thompson
79ced283b3
Some more tweaks
2010-08-22 20:58:52 -04:00
Andrew Thompson
3798c39177
Remove some code we don't use
2010-08-22 20:58:48 -04:00
Andrew Thompson
6fc68a4aa9
Use a different mutex for tracking threadcount
2010-08-22 20:58:47 -04:00
Andrew Thompson
121e57a1db
Switch from mutex to a rwlock to increase throughput
2010-08-22 20:58:44 -04:00
Andrew Thompson
5ef61c961f
Null out the spawn reply after we're done with it to avoid seg
2010-08-22 20:58:41 -04:00
Andrew Thompson
c0d51b83f4
Improve some logging to include UUIDs
2010-08-22 20:58:38 -04:00