724 Commits

Author SHA1 Message Date
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
Anthony Minessale
3a6bb506c0 passing non-null value to generate_xml_cdr now implies its an initalized xml object 2010-07-01 15:22:13 -05:00
Jeff Lenk
a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale
c5086b1517 jsonification into the core and ESL 2010-06-17 11:43:09 -05:00
Anthony Minessale
a65a7f322b fix possible socket connection race 2010-05-13 14:49:36 -05:00
cseket
750aa7e29b use force_process_cdr variable added in XML-17 2010-04-26 08:59:48 +02:00
cseket
8a4a09838c fix windows build (MODEVENT-63) 2010-04-23 19:16:55 +02:00
Travis Cross
db26c65ea7 Tightened up .gitignore such that we are no longer ignoring files that are actually in the tree.
Check for files that we are accidentally ignoring:

  git ls-files -i --exclude-standard | sed -e "s:.:\!\/\\0:"

Check for files that we might want to ignore:

  git ls-files -o --exclude-standard | sed -e "s:.:\/\\0:"
2010-04-05 23:17:43 +00:00
Anthony Minessale
6314075859 add apr func to disable loopback on multicast to simplify mod_multicast_event 2010-04-02 16:40:24 -05:00
Michal Bielicki
9fbb0b57f0 postgresql cdr module, requires some adjustments to make it more platform agnostic, good for solaris and centos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 16:18:48 +00:00
Tamas Cseke
2d180aef52 try to fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 15:59:22 +00:00
Tamas Cseke
92eef1edf7 copy mod_json_cdr from branch (MODEVENT-62)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-17 15:26:56 +00: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
Anthony Minessale
82926fc656 add another frontender to list
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-25 19:02:42 +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
Anthony Minessale
6fec6e8aa0 fix parse err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-04 15:50:04 +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
Anthony Minessale
f859964993 fix filters (reported on mailing list use jira next time =/)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 01:00:04 +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
Anthony Minessale
bd97fb615f allow alias expansion from fs_cli
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-20 17:45:53 +00:00
Anthony Minessale
42f8ffca56 small logic bug in new event auth code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-06 16:59:53 +00:00
Anthony Minessale
87ca6ed553 add userauth <user>@<domain>:<pass> to event_socket to auth against user directory uses esl-password esl-allowed-api esl-allowed-events and esl-allowed-log to control resource access
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16160 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-05 19:47:49 +00:00
Anthony Minessale
3cb315d6d4 add SOCKET_EVENT event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-04 17:46:55 +00:00
Brian West
87477e308d fix null pointer issue in event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-21 22:48:33 +00:00
Michael Jerris
c813825e81 fix OS X 10.6 bulild for mod_radius_cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-12 02:26:59 +00:00