432 Commits

Author SHA1 Message Date
Anthony Minessale
0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Andrew Thompson
eaf6ee25c9 Fix some issues with standing up a new outbound listener and cleaning up after a failed session (more issues remain)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-24 02:08:06 +00:00
Andrew Thompson
5fe69d307b Initial support to spawn a process (module/function) outbound on a specified node. Also fix some bugs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11477 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-24 01:04:59 +00:00
Andrew Thompson
4b21d70d4b Added some initial work to allow mod_erlang_event to spawn processes on other nodes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-23 03:40:20 +00:00
Andrew Thompson
d9bb4dcc9c Some inital work on abstracting registered processes and pids
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 23:07:37 +00:00
Andrew Thompson
2b348e7ff3 Tweak some stuff, make the registered process name an atom, return baduuid if the requested uuid isn't found
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 21:20:36 +00:00
Andrew Thompson
b6c7dd36a0 Merge in Rob Charlton's patch for outbound session support in mod_erlang_event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 19:34:53 +00:00
Michael Jerris
de54fe58ff fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 17:12:07 +00:00
Anthony Minessale
0158e7b848 add linger event_socket command to make outbound socket notify channel disconnect and wait for you to terminate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-16 15:32:10 +00:00
Anthony Minessale
6f8e06f087 fix disconnect issue in event socket and fix a few small bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 22:11:27 +00:00
Anthony Minessale
ea5c385281 numerous fixes from regression testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +00:00
Michael Jerris
b5bff86cf3 add debug logs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 20:55:09 +00:00
Anthony Minessale
cd44e9e72e tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 17:39:31 +00:00
Anthony Minessale
5daf2d13b9 wash behind your ears
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 22:44:23 +00:00
Anthony Minessale
863c576784 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 19:07:20 +00:00
Anthony Minessale
4da6ddc615 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 18:52:17 +00:00
Andrew Thompson
b60cdc56c6 send the call's uniqueid, if any, as the first element of the event's parameter list.
unlock the session returned by core_session_locate like I should've been doing.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 04:47:58 +00:00
Andrew Thompson
386f0b9388 Merge in some recent event_socket changes, mainly the new log data structure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 04:40:20 +00:00
Brian West
e703825860 shut up gcc 4.3.2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-29 04:34:37 +00:00
Anthony Minessale
236fe3d131 change event_socket to have more info about log lines
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-20 14:56:08 +00:00
Chris Parker
e573c86d90 Fix potential seg_fault reported in MODEVENT-35
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 15:51:48 +00:00
Anthony Minessale
4aef89420e avoiding seg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-17 22:45:21 +00:00
Chris Parker
f796ff4bc6 Use const char, instead of passing func to switch_true
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 14:32:17 +00:00
Chris Parker
159d1f3cd1 Added patch to close JIRA MODEVENT-28
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 19:42:02 +00:00
Anthony Minessale
c6be72ff0f fix MODEVENT-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-12 15:44:37 +00:00
Michael Jerris
f0cf90b577 MODEVENT-33 missing : after Content-Length in event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10711 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-11 15:25:59 +00:00
Anthony Minessale
0bd0e20883 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 16:08:37 +00:00
Anthony Minessale
797185642e difference between invalid uuid and no uuid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-08 15:28:01 +00:00
Anthony Minessale
1efc7bf649 misc fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10582 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-03 20:10:54 +00:00
Andrew Thompson
321c468691 actually try to handle bind_search xml responses
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-17 21:15:52 +00:00
Anthony Minessale
2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Andrew Thompson
bca7917503 added some cleanup code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 22:35:40 +00:00
Andrew Thompson
137a0759f8 actually send and receive bind_search events, don't do anything with the reply yet tho
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 22:05:03 +00:00
Anthony Minessale
d66d49ae61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 18:11:54 +00:00
Andrew Thompson
b2bf73de6e Ton of stuff, mainly laying groundwork for bind_search functionality
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 17:55:20 +00:00
Anthony Minessale
a2e2c8ae46 add filters to event_sink
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 17:29:14 +00:00
Andrew Thompson
e7a37e580e Add support for 'getpid'; a way to return the fake cnode process id on the FreeSWITCH side
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 22:46:58 +00:00
Anthony Minessale
4549a90d63 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-11 13:32:11 +00:00
Andrew Thompson
8515c087a8 Remove a couple debug prints that slipped in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 19:47:52 +00:00
Andrew Thompson
7dc1a95f6f Add a 1.5 second sleep on module shutdown to prevent segfaults, fix a compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 19:42:38 +00:00
Andrew Thompson
bb13eea83c Add sendmsg support and remove some debug prints
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10316 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-10 18:38:54 +00:00
Andrew Thompson
8c15644255 use switch_true instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 02:20:03 +00:00
Andrew Thompson
69b7d6546c Allow config parameter 'shortname' to be 'true' or 'yes', add sample config file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 02:06:19 +00:00
Andrew Thompson
fb3505ec92 Try to start epmd (erlang port mapper daemon) if ei_publish fails
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 00:43:55 +00:00
Andrew Thompson
08f8cb41d8 Import recent fixes from mod_event_socket, work on cleanup on unload (still segfaults tho)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 23:56:50 +00:00
Anthony Minessale
80c1802ea2 move bind to load func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 23:25:38 +00:00
Anthony Minessale
b18903ecf3 fix MODEVENT-32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 14:48:49 +00:00
Andrew Thompson
c5178a5ba1 Don't create a new memory pool until it's clear we actually need it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 03:21:19 +00:00
Andrew Thompson
53d696803b Add initial support for sendevent to mod_erlang_event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-07 01:29:44 +00:00
Andrew Thompson
2156075c60 Add mod_erlang_event to tree - a module that makes FreeSWITCH act like an erlang c-node.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-06 21:03:30 +00:00