850 Commits

Author SHA1 Message Date
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
Anthony Minessale
e4f90584a7 MODEVENT-68 2010-08-18 09:20:59 -05:00
Andrew Thompson
9ad509c29a mod_erlang_event: generate long node names the same as erlang does
Also, allow you to override the node name inference by passing a
nodename with an @ in it, eg. freeswitch@freeswitch.com
2010-08-17 02:32:37 -04:00
Stefan Knoblich
d6eb7562e5 [mod_commands,mod_event_socket,mod_event_test] fix up other users of switch_event_xmlize() to use SWITCH_EVENT_NONE 2010-08-15 00:39:49 +02:00
Tamas Cseke
388430318c tweak array length 2010-08-11 17:26:31 +02:00
cseket
76a72be31f add ability to set more error dirs. maybe it's paranoid, but we can use distributed file system, that we don't trust enough 2010-08-11 15:13:22 +02:00
Andrew Thompson
6397f898fd Switch from a busy-wait loop to crazy conditional timedwait stuff for speed 2010-08-06 01:32:28 -04:00
Andrew Thompson
b60d6b3376 Remove deprecated new_pid API (its been there long enough) 2010-08-05 16:07:14 -04:00
Andrew Thompson
f281ac390a Bump the 'spawn process' timeout, fix some logging 2010-08-05 13:38:42 -04:00
Andrew Thompson
aa16f939b7 Add some wrapper functions for the new session event filter stuff 2010-08-04 11:28:53 -04:00
Andrew Thompson
0ec9ffe649 Tony said I should use a rwlock for this, so now I do 2010-08-04 10:45:25 -04:00
Andrew Thompson
698fa0455b Add 3 new commands; session_event, session_noevents, session_nixevent 2010-08-03 18:05:19 -04:00
Andrew Thompson
64a28ee974 Switching to using a hash instead of a linked list for outbound sessions 2010-08-03 18:02:18 -04:00
Anthony Minessale
8915c6a94e reduce memory usage 2010-07-24 01:03:21 -05:00
Andrew Thompson
9d44ed0409 Make XML fetch reply ACKs distinguishable, update freeswitch.erl 2010-07-17 14:02:57 -04:00
Brian West
f347698a47 MODEVENT-66 2010-07-07 09:13:34 -05:00