Commit Graph

14765 Commits

Author SHA1 Message Date
Chris Rienzo 7625001e49 mod_rayo: fix component JID 2013-06-25 08:08:56 -04:00
Chris Rienzo 899f68759a mod_rayo: fix cleanup of console complete functions 2013-06-25 07:54:59 -04:00
Chris Rienzo ad5ea44aeb mod_rayo: don't send item-not-found to replies 2013-06-25 07:42:34 -04:00
Chris Rienzo cac8536170 mod_http_cache: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo a29bab368d mod_ssml: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo 8bf40819df mod_rayo: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo e52f131460 mod_rayo: forgot to return error if unknown destination for stanza 2013-06-24 22:19:53 -04:00
Chris Rienzo c15c0924d1 mod_rayo: added message delivery threads 2013-06-24 22:19:53 -04:00
Chris Rienzo 0f0f278124 mod_rayo: reworked internal messaging- all messages sent by JID only 2013-06-24 22:19:53 -04:00
Chris Rienzo 911948c87a mod_rayo: remove reply from send function - everything is send only now 2013-06-24 22:19:53 -04:00
Anthony Minessale 1ed5e3e331 FS-5530 --resolve this will make it identical to the bridge behaviour even when the bridge in early media begins and now you will explicitly need continue_on_fail=true in this situation to not fail 2013-06-24 09:45:43 -05:00
Anthony Minessale 6b58aea501 FS-5539 --resolve 2013-06-24 09:15:01 -05:00
Nathan Neulinger f59690c02f skinny more logging improvements and some refactoring of protocol replies 2013-06-23 21:47:58 -05:00
Nathan Neulinger 9279113a26 skinny - add simple expansion of text strings by id in the logging msgs 2013-06-23 16:11:54 -05:00
Nathan Neulinger 86e4e580b1 logging 2013-06-23 15:18:10 -05:00
Nathan Neulinger 4b0bae5afd fix broken build due to running with warnings disabled, oops 2013-06-23 15:11:31 -05:00
Nathan Neulinger 4a267627f2 skinny logging 2013-06-23 14:58:25 -05:00
Jeff Lenk 0d4967b718 fix windows build 2013-06-23 14:34:26 -05:00
Nathan Neulinger e744bf0385 improvements to skinny logging, table based message text ids 2013-06-23 14:19:05 -05:00
Nathan Neulinger a38ea77fa3 misc constant name adjustments to match actual text on phones 2013-06-22 13:46:26 -05:00
Ben Langfeld 6faae5b178 mod_rayo: Punchblock now supports content-type on input matches
Fix applied to Punchblock here: cef5198e80
2013-06-22 14:27:28 -04:00
Jeff Lenk f8122e39c5 fix trivial compiler warning 2013-06-21 21:43:22 -05:00
Anthony Minessale 48e1415f64 fix return values from refactor so stun timeouts can trigger error properly 2013-06-21 12:42:37 -05:00
Nathan Neulinger 1b2341b6d8 FS-5532 - workaround to improve behavior, but not correct fix 2013-06-21 14:48:49 -05:00
Chris Rienzo 609b0b324d mod_rayo: fix crash when DTMF is received after input timeout 2013-06-21 09:42:54 -04:00
Giovanni Maruzzelli eb79128d8e skypopen: OSS driver has active timers only on active devices (eg: when it's actually used by a skypeclient) 2013-06-21 10:58:16 +02:00
Anthony Minessale 5a0f43d956 make sure sip-hold works on webrtc 2013-06-21 00:41:25 -05:00
Anthony Minessale 76177e6196 FS-5531 --resolve add another optional param to supply flags for either behaviour n for null and b for boolean 2013-06-20 22:53:43 -05:00
Anthony Minessale 1e9ab89bbb sniffing glue 2013-06-20 22:25:25 -05:00
Anthony Minessale 5cb4cd9d9c fill the opposite file to keep data in sync 2013-06-20 21:51:31 -05:00
Anthony Minessale 16bdee13fc add answer_delay variable to sleep N ms when answer is called from the channel thread 2013-06-20 21:29:31 -05:00
Anthony Minessale 48ea6b5217 FS-5530 2013-06-20 21:15:32 -05:00
Anthony Minessale 1617469019 FS-5530 --resolve 2013-06-20 21:10:23 -05:00
Anthony Minessale e1b6d4d1be FS-5530 --resolve 2013-06-20 20:58:55 -05:00
Anthony Minessale f35ea43b38 FS-5513 --resolve 2013-06-20 18:33:40 -05:00
Giovanni Maruzzelli 7e2ea11b67 gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 4640a9c80c gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 66f028b4ba gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 0a364e1f3b gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli fa1d773a84 FS-4821 fixed core dump when received sms in UCS2 after having sent sms in UCS2 2013-06-21 00:41:07 +02:00
Anthony Minessale b0f964f23f swigall 2013-06-20 11:41:34 -05:00
Anthony Minessale 9cc21d28fc add novideo app 2013-06-20 13:10:21 -05:00
Anthony Minessale 702c9af3f9 add novideo app 2013-06-20 13:08:09 -05:00
Anthony Minessale e60f37f651 FS-5529 --resolve 2013-06-20 12:36:30 -05:00
Chris Rienzo dc604fd589 mod_ssml: XML decode <audio src=".. attribute since iksemel SAX parser doesn't 2013-06-20 09:25:45 -04:00
Giovanni Maruzzelli 12c96d9009 FS-5292 gsmopen: patch from garmt 2013-06-20 14:21:49 +02:00
Giovanni Maruzzelli 607ef575bc FS-5482 skypopen: check assignment on possibly NULL pointer, avoiding segfault 2013-06-20 10:17:52 +02:00
Jeff Lenk b4ba31dad6 more trivial compiler warnings for windows 2013-06-19 10:44:31 -05:00
Chris Rienzo a8751d15ce mod_rayo: allow variables to be passed in dialstring 2013-06-19 08:53:17 -04:00
Anthony Minessale bd2862080c FS-4969 --resolve 2013-06-18 21:19:24 -05:00
Anthony Minessale 4baf0276d6 FS-5513 --resolve 2013-06-18 21:16:56 -05:00
Jeff Lenk a7be251bd8 fix several more windows compiler warnings and mod_gsmopen 2013-06-18 22:44:11 -05:00
Anthony Minessale 9cf05e3595 only refuse loopback endoint not profiles named loopback 2013-06-18 16:19:08 -05:00
Jeff Lenk ec9eebbf99 fix trivial compiler error and vs2010 reswig 2013-06-18 16:55:03 -05:00
Brian West 750c06c1b8 fix reload of outbound_name change 2013-06-18 15:49:12 -05:00
Anthony Minessale 691acf2812 fix build on cent5 2013-06-18 14:38:57 -05:00
Nathan Neulinger 5d0753e330 FS-5510 --resolve - also add logging of hangup cause 2013-06-18 12:21:35 -05:00
Anthony Minessale a42b7de6d5 swigall 2013-06-18 09:13:50 -05:00
Nathan Neulinger f782c280d4 add skinny cmd to kill all current listeners 2013-06-18 09:41:56 -05:00
Nathan Neulinger 45d33b02e9 Add skinny device kill api command 2013-06-18 09:18:31 -05:00
Anthony Minessale 1b0375371a refactor 2013-06-18 06:24:17 -05:00
Anthony Minessale d642eb96f0 FS-5513 --resolve 2013-06-17 21:37:53 -05:00
Anthony Minessale 2fac3a8e83 refactor some of the video passthru code 2013-06-17 19:52:37 -05:00
Anthony Minessale 3ac4e77384 FS-5519 --resolve 2013-06-17 19:43:24 -05:00
Brian West 3634d4a0e7 remove debugging 2013-06-17 17:51:48 -05:00
Anthony Minessale db59af93e3 remove cid flip from pickup 2013-06-17 10:57:33 -05:00
Anthony Minessale c3de185b22 add deflect parsing support for mod_loopback and fix unloop bug 2013-06-17 10:45:00 -05:00
Anthony Minessale 2c9ee26fdd dont change device state from hangup to hangup 2013-06-17 10:44:22 -05:00
Jeff Lenk f858176f89 vs2010 reswig 2013-06-14 11:45:44 -05:00
Chris Rienzo 0311d4615a mod_rayo: some fixes for punchblock 2.0 compatibility 2013-06-13 15:28:53 -04:00
William King b73a8fe624 Fix missing return statement. 2013-06-13 10:08:16 -07:00
Chris Rienzo 2d4acdfa61 mod_rayo: updates for 0.2 of spec 2013-06-13 11:23:12 -04:00
William King 4219049789 New compiler warning(error). Unused assignment before the pointer is reassigned. 2013-06-12 21:39:27 -07:00
William King 3f2f393a7c If the addr pointer is NULL, better to check first before using it. 2013-06-12 21:24:06 -07:00
William King a710841123 This is probably what was intended. If the pointer 'path' is NULL, or if it is not NULL, then the first char should not be '\0' 2013-06-12 21:21:54 -07:00
William King 91c8c8a57b oops 2013-06-12 21:17:17 -07:00
William King 5026788c4a Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:57 -07:00
William King 97918f473b 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:36 -07:00
William King 5c60bd6b42 Make sure to cleanup event if there was a failure that caused it not to be fired. 2013-06-12 17:02:15 -07:00
William King a181ec629f On the off chance the if statement takes the false branch, let's not leak the memory. again. 2013-06-12 16:46:38 -07:00
William King 5e5af427ef On the off chance the if statement takes the false branch, let's not leak the memory 2013-06-12 16:41:24 -07:00
Chris Rienzo 98ae1c93fa mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory 2013-06-12 09:38:35 -04:00
Seven Du a3dfd0bf62 FS-5498 add ringing and early stats to event 2013-06-12 09:09:21 +08:00
Anthony Minessale d0749e9a26 FS-5500 --resolve 2013-06-11 11:38:18 -05:00
Anthony Minessale de802f2124 FS-5498 fix state change 2013-06-11 11:24:04 -05:00
Anthony Minessale 42c6a66e08 FS-5498 add profile-variables section to directory to specify profile variables to be set automatically 2013-06-11 09:38:58 -05:00
Anthony Minessale b74ad2a6bb FS-5503 --resolve indeed, thx 2013-06-11 09:31:16 -05:00
Anthony Minessale df1bba55ee FS-5498 2013-06-10 19:13:21 -05:00
Anthony Minessale 6731519bef FS-5498 2013-06-10 18:22:08 -05:00
Brian West a433b97375 Skip to next file when you hup the stream 2013-06-07 12:29:42 -05:00
Travis Cross 46f4709ee6 Whitespace cleanup to previous commit 2013-06-07 06:59:38 +00:00
William King e7fa70416d Previous commit was incorrect. This would correctly handle the memory loss case. 2013-06-06 23:54:07 -07:00
Anthony Minessale 01959606cd FS-5493 oops 2013-06-06 13:17:20 -05:00
Anthony Minessale 860ed3f9a6 add last callback run stamp to device records 2013-06-06 13:09:13 -05:00
Anthony Minessale 75fab9b0f2 FS-5493 --resolve 2013-06-06 12:59:18 -05:00
Chris Rienzo ee2f1d32a4 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-06 16:03:00 -04:00
Chris Rienzo acacb342e8 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-06 15:34:49 -04:00
Travis Cross 74dcbe8240 Add missing newline at end of file 2013-06-06 19:01:17 +00:00
Anthony Minessale 7b25322e46 don't need this change revert 2013-06-05 11:21:59 -05:00
Anthony Minessale 4240526ce3 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:20:11 -05:00
Seven Du 947c0542a9 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-04 08:46:05 +08:00
Travis Cross 505815c902 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:29:51 +00:00
Travis Cross bc25079fce Fix spelling in log message 2013-06-02 20:06:34 +00:00
Anthony Minessale 5835e0d541 FS-5488 --resolve 2013-05-31 14:46:15 -05:00
Nathan Neulinger e74bba08c2 FS-5449: apply correct quoting, got older version of patch accidentally 2013-05-31 16:31:27 -05:00
Nathan Neulinger ac0ed44b96 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:25:08 -05:00
Anthony Minessale 5eabe2bc4e FS-5488 --resolve 2013-05-31 13:14:37 -05:00
Brian West a55d70ed62 add kirk wireless servers to safe as they do not do rport 2013-05-31 11:54:05 -05:00
Brian West 507788f01c Swap this 2013-05-31 09:16:32 -05:00
Nathan Neulinger 803c02a3e8 Change to correct prompt on outgoing call, eliminate UNDEFINED! message 2013-05-30 12:49:59 -05:00
Nathan Neulinger fffe3d06aa Allow skinny speed dials to work when already off-hook 2013-05-30 12:15:20 -05:00
Jeff Lenk 24c13adfaf FS-5483 --resolve 2013-05-29 09:32:24 -05:00
Travis Cross a82878f786 Unsigned values are never less than zero 2013-05-29 03:02:07 +00:00
Travis Cross f07181e266 Avoid using psession uninitialized in mod_fsk 2013-05-29 02:59:05 +00:00
Steve Underwood 3519e0f4c3 More tweaks towards colour FAXing 2013-05-29 10:07:08 +08:00
Steve Underwood 3b595efc60 More tweaks towards colour FAXing 2013-05-29 09:53:56 +08:00
Mariusz Czułada d0af6ce81d FS-5157 patch accepted 2013-05-29 00:19:49 +02:00
Brian West ecd8aabf5d log auto adjust ip and port separate so it doesn't get clobbered on hold/update events 2013-05-28 16:25:39 -05:00
Anthony Minessale 9d8af739c8 FS-5480 --resolve 2013-05-28 08:17:44 -05:00
Travis Cross 3c8db7c715 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-28 05:28:19 +00:00
Travis Cross 5b1d1de1a7 Add common include paths for jni.h and jni_md.h 2013-05-27 16:19:24 +00:00
Travis Cross f3541e00f4 Fix variable type in mod_nibblebill 2013-05-27 07:58:33 +00:00
Travis Cross 25d488a801 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-27 07:40:00 +00:00
Travis Cross 076a7706db Remove extraneous parentheses in mod_say_pl 2013-05-26 12:22:51 +00:00
Travis Cross c9b3909ac1 Add missing newline at end of mod_say_fa.c 2013-05-26 12:22:08 +00:00
Travis Cross 4ea2ae5d38 Remove extraneous parentheses
This resolves a clang warning:

  error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
2013-05-26 12:19:19 +00:00
Travis Cross 065043ce67 Remove unused variable in mod_rtmp
Unused variables break the build with recent versions of gcc and
clang.
2013-05-26 04:53:16 +00:00
Travis Cross 04c3b913aa 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:27:16 +00:00
Travis Cross 8f10ff073a 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:03:08 +00:00
Travis Cross 3dd2376475 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:28:55 +00:00
Travis Cross ab641842f4 Fix comment spelling
Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
2013-05-25 21:40:40 +00:00
Travis Cross c09a261d58 Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>

FS-5465 --resolve
2013-05-25 21:20:41 +00:00
Travis Cross 012003b5ff Don't setup ZRTP without a session and channel
FS-5472 --resolve
2013-05-25 21:10:11 +00:00
William King db0d03532d Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:06:01 -07:00
William King 7be8184b2a Redundant code. The if/else block makes more sense than the equivalent in two separate if's. 2013-05-25 07:47:09 -07:00
William King 938699d0b6 Better to not pass tmp_socket to setsockopt if there was an error here creating the socket. 2013-05-25 07:37:28 -07:00
William King 7d531c0966 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:15:49 -07:00
William King f04842d4c8 Cleaning up logically dead code. 2013-05-25 07:02:49 -07:00
William King acf9a72e3f 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:37 -07:00
William King 5d939b9652 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:03 -07:00
William King 12f2f674f9 Let's bit a bit safer when dereferencing pointers. 2013-05-24 20:24:04 -07:00
William King 480407e5f3 Removing logically dead code 2013-05-24 19:59:32 -07:00
William King 9ea90341f7 If there is a problem reading the dictionary file, don't leak memory... 2013-05-24 19:55:50 -07:00
William King 2e6d3a1f2a Removing unused code 2013-05-24 19:53:26 -07:00
William King b42ee84933 More explicit and defensive code so if the init fails we know we handling this pointer safely, because rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL. 2013-05-24 19:49:33 -07:00
William King dc4209275d Another location where mod_rtmp would leak memory. 2013-05-24 19:45:38 -07:00
William King 194e1ae366 Fix improper handling of a double linked list that could have caused a memory leak. 2013-05-24 19:42:17 -07:00
William King e2d6bc3340 Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node. 2013-05-24 19:35:56 -07:00
William King f3fd94b3e5 Fixing a memory leak. name needs to be freed since it's being strdup'd lower. 2013-05-24 19:31:26 -07:00
Anthony Minessale 4bf4b2c408 FS-5470 --resolve 2013-05-24 09:37:25 -05:00