Commit Graph
763 Commits
Author SHA1 Message Date
Andrew Thompson 6ae73314a7 Rework how spawned outbound pids communicate their pid back to the outbound call process, try to improve some memory management
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 21:54:16 +00:00
Anthony Minessale d7a12df53f add new state for CDR and leg_delay_start originate var and fix FSCORE-315
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 04:19:33 +00:00
Anthony Minessale 2e1680d2df MODEVENT-40 ahem `Math
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-02 16:09:32 +00:00
Mathieu Rene dab63328cd More initial paradox of doom avoidement
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 20:21:48 +00:00
Mathieu Rene 557f7388f9 Whitespace can be a bitch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:38:19 +00:00
Anthony Minessale e46509f540 avoiding initial paradox of doom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:35:42 +00:00
Anthony Minessale 9556be51ef fix issue in monitor_early_media_fail issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 03:41:18 +00:00
Mathieu Rene c4787ffd48 Leaking on unload is strictly forbidden
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 19:17:24 +00:00
Andrew Thompson f6a96893db Bind to 0.0.0.0 instead of 127.0.0.1 by default; like most erlang nodes do.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 18:34:08 +00:00
Anthony Minessale 99026e02e7 event socket / ESL improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:19:58 +00:00
Michael Jerris bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Andrew Thompson 8ebc96f046 Use switch_strlen_zero_buf instead of switch_strlen_zero; Handle module init failures better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 18:52:29 +00:00
Anthony Minessale f125872c73 FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:10:59 +00:00
Anthony Minessale b09a12c94a fix race in event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12146 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 21:50:33 +00:00
Anthony Minessale 7987fa5cfd add some stuff to esl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 14:13:32 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West 2633fad70e fixing if's to be correct
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 22:27:05 +00:00
Anthony Minessale 304bd74cdc add extra checking for race cond in bgapi
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11680 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-07 16:44:46 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Andrew Thompson a6717df8d0 Patch from Rob Charlton to use rpc:call instead of spawn and to make the registered process argument to handlecall optional
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-28 19:26:37 +00:00
Andrew Thompson 06dbbf8ed8 Export some functions I forgot to
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-28 15:34:34 +00:00
Andrew Thompson c17a0a29f7 Add freeswitch.erl - An erlang module to make talking to mod_erlang_event more painless
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-28 00:15:05 +00:00
Andrew Thompson 09fc2d5f4d Cleanup after log/event handler process exit, fix event handler stuff to work again and do some minor tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 21:39:29 +00:00
Andrew Thompson 608c4b1245 This shouldn't be here
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 17:43:18 +00:00
Andrew Thompson ce11c29553 Ensure events received while a pid session is being created aren't discarded but are queued instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 01:50:12 +00:00
Andrew Thompson c86ccc9394 Support sending a message to a registered process to request a pid (when spawning won't cut it)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 01:13:59 +00:00
Andrew Thompson 377663b3ec Allow certain tuple elements to be binaries or strings, to reduce conversion requirements on the erlang side
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 00:25:01 +00:00
Andrew Thompson 462db06bb7 Allow the event encoding strategy to be configurable; choices are string or binary
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11495 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-26 23:31:40 +00:00
Andrew Thompson 9c83e491e0 Fix a couple minor bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-26 20:50:17 +00:00
Andrew Thompson ca69724373 Monitor spawned outbound processes for premature exits
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-26 04:09:08 +00:00
Andrew Thompson 85cf65ac16 Fix setting up a listener for an outbound session if one doesn't already exist, add beginnings of 'erlang' console command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:35:27 +00:00
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