Ken Rice
cac6c262bb
conf: add config files to module directories
...
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
dschreiber
3b8ab39f45
Undo change for erlang event listeners - should be 100 not 50
2011-11-11 12:53:25 -05:00
Darren Schreiber
994f9a8ca6
Fixed a memory leak, too short of connect times across data centers, a deadlock condition with the globals.bindings_rwlock not being released, a buffer overrun possibility or 4, and added the ability to send a body when injecting an event
2011-09-30 21:58:06 -04:00
Andrew Thompson
af3be7b21d
Silence a silly warning about ignored return values
2011-08-24 14:44:12 -04:00
Andrew Thompson
7b656871f3
Fix unused var
2011-08-20 23:03:17 -04:00
Andrew Thompson
618ea0f2c8
FS-3488 --resolve
2011-08-20 19:45:36 -04:00
Andrew Thompson
8ae9ab5d15
FS-3034
2011-05-11 13:55:22 -04: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
Brian West
3734f4cd44
bump copyright date and fix some email and typos from diego.
2011-01-05 10:09:04 -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
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
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
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
Andrew Thompson
9d44ed0409
Make XML fetch reply ACKs distinguishable, update freeswitch.erl
2010-07-17 14:02:57 -04:00
Andrew Thompson
3786722149
Tweak some mutexes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16903 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 20:17:32 +00:00
Andrew Thompson
dc5c383d20
Track time taken for XML fetch responses/timeouts
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:51:57 +00:00
Andrew Thompson
6107493160
Replace busy wait for XML fetch with thread cond stuff (Original patch contributed by Michael Fig / MarkeTel Systems)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 21:55:46 +00:00
Anthony Minessale
886e1ddb4d
run indent on the whole tree and update copyright dates in prep for 1.0.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Andrew Thompson
02a915c166
FSCORE-542
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-03 19:55:36 +00:00
Andrew Thompson
77ac925dc5
Don't exit the entire listener for a single session failure (reported by Timur Irmatov)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 15:44:46 +00:00
Andrew Thompson
c2cde58f38
Move erlang module's default config file to be with all the others
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 22:10:12 +00:00
Andrew Thompson
15363cdb2f
Tracking API change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 17:43:10 +00:00
Anthony Minessale
df7637f687
change switch_strlen_zero to zstr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Andrew Thompson
f9df2e6bd8
How'd that happen?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-22 20:55:12 +00:00
Andrew Thompson
e47f8215e9
mod_erlang_event: optionally allow compatability with nodes running older OTP releases (R7 through current)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 20:57:46 +00:00
Andrew Thompson
671694fb17
Deprecate new_pid message in favor of get_pid which has an extra element, the call's UUID
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 19:54:23 +00:00
Andrew Thompson
abc3acdf44
Add support for simply sending an arbitrary message to an arbitrary registered process at a node
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 19:23:47 +00:00
Andrew Thompson
fc208bb0b9
Use our own memory pool instead of the sessions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 21:41:47 +00:00
Andrew Thompson
1eace1218a
Add support for log node userdata, improve some log messages and command output
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-26 20:50:05 +00:00
Andrew Thompson
eb08813dd4
Add per-call logging support
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 16:58:26 +00:00
Andrew Thompson
b4fbb35865
Winsock blows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 05:33:42 +00:00
Andrew Thompson
467653216a
Don't make channels stuck
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 23:16:32 +00:00
Andrew Thompson
14b0e7d568
Cleanup after outbound sessions that exit before the call hangs up
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14427 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 23:13:02 +00:00