Commit Graph

14476 Commits

Author SHA1 Message Date
William King 3d13776af2 DO NOT PULL TO MASTER. Fix typo when setting the video recv port. Bug does not exist in master due to the refactor. 2013-06-12 18:33:45 -07:00
William King ac9bfb194b Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:40 -07:00
William King a393b78f6e Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise. 2013-06-12 17:11:22 -07:00
William King 3815a5a170 Make sure to cleanup event if there was a failure that caused it not to be fired. 2013-06-12 17:01:56 -07:00
William King 5f1e9d93f2 On the off chance the if statement takes the false branch, let's not leak the memory. again. 2013-06-12 16:46:21 -07:00
William King c53ffe7102 On the off chance the if statement takes the false branch, let's not leak the memory 2013-06-12 16:42:00 -07:00
Chris Rienzo 74313a6866 mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory 2013-06-12 09:39:09 -04:00
Seven Du fe1b20eb59 FS-5498 add ringing and early stats to event 2013-06-12 09:23:22 +08:00
Anthony Minessale f2db9b56be FS-5500 --resolve 2013-06-11 11:38:39 -05:00
Anthony Minessale efe3ff7be4 FS-5498 fix state change 2013-06-11 11:23:45 -05:00
Anthony Minessale e52f4ac56f FS-5498 add profile-variables section to directory to specify profile variables to be set automatically 2013-06-11 09:38:38 -05:00
Anthony Minessale e0dc4842ae FS-5498 2013-06-10 19:13:05 -05:00
Anthony Minessale ab947f5bc5 FS-5498 2013-06-10 18:21:51 -05:00
Brian West 658c4d732d Skip to next file when you hup the stream 2013-06-07 12:29:13 -05:00
Travis Cross 9b611f0175 Spelling fix 2013-06-07 07:26:29 +00:00
William King 66652ec198 how...? 2013-06-07 07:26:28 +00:00
William King b214f20768 Since there isn't neutral ground, on the rtmp state callback we actually have to force the write lock of the session, but we only need a try lock on removing the session from the rsession->session_hash. This removes a deadlock caused when we had to enforce with locks that the rsession couldn't be destroyed if the FS session was in the middle of a hangup. 2013-06-07 07:26:28 +00:00
William King ce9bf959e9 Seems the session wasn't coming to the hangup in a locked state. 2013-06-07 07:26:27 +00:00
William King 1ff548f24c Seems having a read lock still prevents a write lock to be taken, even if the thread that is trying to get the write lock currently has the read lock. 2013-06-07 07:26:27 +00:00
William King 8d370ff6e6 Include the write lock since we're changing the tech_pvt 2013-06-07 07:26:26 +00:00
Jeff Lenk df141a13b3 trivial fix compiler warning 2013-06-07 07:26:26 +00:00
Jeff Lenk 0929e12630 FS-5290 --resolve 2013-06-07 07:26:17 +00:00
Jeff Lenk 55ff737e57 FS-5290 --resolve 2013-06-07 07:26:16 +00:00
Jeff Lenk ec44f6aec0 FS-5167 2013-06-07 07:26:11 +00:00
Brian West ed0ae1e669 FS-5255 --resolve 2013-06-07 07:26:03 +00:00
Travis Cross 0367a6ffa0 Whitespace cleanup to previous commit 2013-06-07 07:00:13 +00:00
William King 80013452dc Previous commit was incorrect. This would correctly handle the memory loss case. 2013-06-06 23:54:55 -07:00
William King 63ebf3c9c2 Was causing a very small leak on naptr lookups. Upon review just happened to be a typo missing a bang. 2013-06-06 23:54:42 -07:00
William King b424ad303d FS-5440: don't assert on bad input rtmp data 2013-06-07 05:42:44 +00:00
Jeff Lenk 6000c884aa windows fix trivial compiler warning 2013-06-07 05:42:43 +00:00
Anthony Minessale 537f14b049 FS-5444 --resolve 2013-06-07 05:42:43 +00:00
Giovanni Maruzzelli e8d3712d56 test 2, please ignore 2013-06-07 05:19:02 +00:00
root a2c44f171b test, please ignore 2013-06-07 05:18:58 +00:00
Seven Du dca41d07d6 update to mp4v2-2.0.0
It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile
2013-06-07 04:57:44 +00:00
Seven Du 2d7d64e855 fix show module as json 2013-06-07 04:53:17 +00:00
Chris Rienzo ef785c6e9b Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol. Currently beta testing. 2013-06-07 01:08:09 +00:00
Chris Rienzo 5feca50770 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-07 01:08:08 +00:00
Chris Rienzo 644cf2b11c mod_http_cache: fix example config 2013-06-07 01:08:08 +00:00
Chris Rienzo d56f409bf0 mod_http_cache: a couple more unit test cases 2013-06-07 01:08:07 +00:00
Chris Rienzo 802dd96233 mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed 2013-06-07 01:08:07 +00:00
Chris Rienzo 168b691d89 mod_http_cache: fix unit test now that switch_b64_encode is fixed 2013-06-07 01:08:07 +00:00
Chris Rienzo f867a2fcb8 mod_http_cache: forgot to add write to http_cache:// format 2013-06-07 01:08:06 +00:00
Chris Rienzo 9283d90fcd mod_http_cache: added write file format 2013-06-07 01:08:06 +00:00
Chris Rienzo 7fcdf4a0c0 mod_http_cache: added native Amazon S3 support 2013-06-07 01:08:05 +00:00
Chris Rienzo 6a64490889 FS-5193 --resolve input timers added to mod_pocketsphinx. 2013-06-07 01:08:05 +00:00
Anthony Minessale 32171aa94c add mod_b64 2013-06-07 00:51:35 +00:00
Anthony Minessale f84bd3b948 add last callback run stamp to device records 2013-06-06 13:08:59 -05:00
Anthony Minessale 102377ebf9 FS-5493 --resolve 2013-06-06 12:59:08 -05:00
Raymond Chandler f0853c6eca add number translation module 2013-06-06 19:15:17 +00:00
Travis Cross a1723a1a2e Add missing newline at end of file 2013-06-06 19:01:31 +00:00
Travis Cross 3dfa586afe Remove extraneous parentheses in mod_say_pl 2013-06-06 18:57:32 +00:00
Mariusz Czułada 87099229e2 Initial version of mod_say_pl 2013-06-06 18:53:27 +00:00
Mariusz Czułada fe4a1fa819 Initial version of mod_say_pl 2013-06-06 18:53:24 +00:00
Anthony Minessale f4efa9691d don't need this change revert 2013-06-05 11:21:38 -05:00
Anthony Minessale 50b68f2f85 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:19:53 -05:00
Travis Cross 499f7096c4 Avoid crashing FS after delivering a VM
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.

FS-5329
2013-06-03 09:28:36 +00:00
Jeff Lenk 753282f38a FS-5314 --resolve
(cherry picked from commit 40e33572b3)
2013-06-01 22:38:39 -05:00
Anthony Minessale bcd770e017 FS-5488 --resolve 2013-05-31 14:45:51 -05:00
Nathan Neulinger fc39b77520 FS-5449: apply correct quoting, got older version of patch accidentally 2013-05-31 16:40:17 -05:00
Nathan Neulinger 634a507546 FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
2013-05-31 16:40:10 -05:00
Anthony Minessale 5a8c753b9e FS-5488 --resolve 2013-05-31 13:14:23 -05:00
Nathan Neulinger 2e66012e96 Change to correct prompt on outgoing call, eliminate UNDEFINED! message 2013-05-31 15:10:44 -05:00
Nathan Neulinger d39086892f Allow skinny speed dials to work when already off-hook 2013-05-31 15:10:44 -05:00
Nathan Neulinger 123d0865fb FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault 2013-05-31 15:10:43 -05:00
Nathan Neulinger 32bddaa6cd FS-5429: --resolve add minimal idivert support for skinny 2013-05-31 15:10:43 -05:00
Nathan Neulinger 582e3699f6 FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive 2013-05-31 15:10:43 -05:00
Nathan Neulinger da5c2a6aef FS-5225: --resolve add ability to dial by pressing line button 2013-05-31 15:10:43 -05:00
Nathan Neulinger c33eb7412b FS-5267: --resolve avoid null deref if sessions missing 2013-05-31 15:10:43 -05:00
Mathieu Parent ab7635e9bc Add IPs to mod_skinny recv/send event messages
FS-5268 --resolve
thanks to Nathan Neulinger
2013-05-31 15:10:43 -05:00
Mathieu Parent 4a981b336a Don't pretend we support skinny-wait timeout (See #FS 477) 2013-05-31 15:10:42 -05:00
Mathieu Parent b36ad82da7 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-05-31 15:10:42 -05:00
Brian West 83c6f4250b add kirk wireless servers to safe as they do not do rport 2013-05-31 11:56:53 -05:00
Steve Underwood 4d08e07237 Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.
2013-05-31 09:04:46 -05:00
Brian West b90dee2461 Swap this 2013-05-31 09:16:50 -05:00
Travis Cross e1a773406d Unsigned values are never less than zero 2013-05-29 03:02:21 +00:00
Travis Cross 1637a08206 Avoid using psession uninitialized in mod_fsk 2013-05-29 03:00:13 +00:00
Travis Cross 04b8de0619 Avoid using memory after we free it
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
2013-05-29 02:52:23 +00:00
Travis Cross de3727fe06 Add common include paths for jni.h and jni_md.h 2013-05-29 02:48:28 +00:00
Travis Cross 50a02efd27 Fix variable type in mod_nibblebill 2013-05-29 02:48:11 +00:00
Travis Cross e964215868 Work around error in pocketsphinx-0.7
fsg_search.c:263:2: error: non-void function 'fsg_search_reinit' should return a value [-Wreturn-type]
2013-05-29 02:48:01 +00:00
Travis Cross e60877cde6 Add missing newline at end of mod_say_fa.c 2013-05-29 02:47:08 +00:00
Mariusz Czułada cd549aa44a FS-5157 patch accepted 2013-05-29 00:22:19 +02:00
Brian West 2cac71675f log auto adjust ip and port separate so it doesn't get clobbered on hold/update events 2013-05-28 16:26:05 -05:00
Anthony Minessale 4d5ea55924 FS-5480 --resolve 2013-05-28 08:18:00 -05:00
Travis Cross acc8eb5cb6 Remove unused variable in mod_rtmp
Unused variables break the build with recent versions of gcc and
clang.
2013-05-26 05:29:21 +00:00
Travis Cross a744b202fd Quote arguments to shell when sending email
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.

Reported-by: Nathan Neulinger <nneul@mst.edu>

FS-5450 --resolve
2013-05-26 01:41:02 +00:00
Travis Cross ff85c6cfdf Fix memory leaks in mod_tts_commandline
We were using both switch_util_quote_shell_arg and
switch_string_replace without freeing the results even though both
functions malloc.
2013-05-26 01:08:10 +00:00
Travis Cross 103d97e208 Leave room for switch_escape_string to add a terminating null
Thanks-to: Nathan Neulinger <nneul@mst.edu>

FS-5448 --resolve
2013-05-25 23:29:48 +00:00
Travis Cross 2870bb9200 Fix comment spelling
Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
2013-05-25 21:47:08 +00:00
Travis Cross ed276a10d2 Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>

FS-5465 --resolve
2013-05-25 21:46:58 +00:00
Travis Cross 4b2dd0a8d9 Don't setup ZRTP without a session and channel
FS-5472 --resolve
2013-05-25 21:46:11 +00:00
William King 6c4ec9d954 Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:07:30 -07:00
William King a6d24d8eac Redundant code. The if/else block makes more sense than the equivalent in two separate if's. 2013-05-25 07:46:47 -07:00
William King 782480c48b Better to not pass tmp_socket to setsockopt if there was an error here creating the socket. 2013-05-25 07:36:43 -07:00
William King 479a06bda6 It's been missing a break there for ~4 years and instead using the 8k max_ms values(the ptime_div value is the same). 2013-05-25 07:16:51 -07:00
William King a4b8226c89 Cleaning up logically dead code. 2013-05-25 07:02:33 -07:00
William King e5ca2a0028 This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:22 -07:00
William King 50b664c2dd Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error. 2013-05-25 06:41:22 -07:00
William King dfbc175776 Let's bit a bit safer when dereferencing pointers. 2013-05-24 20:03:19 -07:00
William King 6c3062a768 Removing logically dead code 2013-05-24 19:59:20 -07:00