]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
mod_erlang_event: Support for reading erlang cookie from a file
authorAndrew Thompson <andrew@hijacked.us>
Sat, 16 Oct 2010 03:27:24 +0000 (23:27 -0400)
committerAndrew Thompson <andrew@hijacked.us>
Sat, 16 Oct 2010 03:40:57 +0000 (23:40 -0400)
commit094ffe37ccbead1e98a69da0306ae8d2e7f3978f
tree2e5b1db8f12098ff1d9fb17d32ac8d0e7c276d18
parentf6f123025970e0c3b204dd6ddbc7393bc68122b1
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.
src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c