Commit Graph

15470 Commits

Author SHA1 Message Date
Anthony Minessale 8f82979d8a limit size of input buffer in conference 2014-02-13 03:18:00 +05:00
Nathan Neulinger 5f5a9710bf FS-6220 fix sql quoting of queries from mod_skinny 2014-02-12 15:23:20 -06:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 7efeabbd88 fix switch_split_user_domain to parse sip:foo.com properly 2014-02-12 23:11:11 +05:00
Jeff Lenk 3846bef5f1 FS-6213 --resolve 2014-02-12 08:49:40 -06:00
Travis Cross 4efb258678 Fix copy/paste error
This amends commit b9a8583178.
2014-02-12 11:43:26 +00:00
Anthony Minessale a0181631d1 don't fail when rtp_write returns 0 2014-02-12 08:29:09 +05:00
Chris Rienzo 396e1a7201 mod_rayo: shut up CentOS 5 warning 2014-02-11 17:58:04 -05:00
Anthony Minessale 10d2dd3e73 use portable switch_inet_ntop 2014-02-12 03:31:21 +05:00
Travis Cross a6c90763ec Add voicemail parameter storage-dir-shared
If this is set to true (default false) we assume the storage-dir is
shared, organized by realm/domain, with uses other than voicemail, so
we adopt a directory structure of:

  <storage_dir>/<realm>/voicemail/<id>
2014-02-11 17:40:58 +00:00
Travis Cross b9a8583178 Add vm-domain-storage-dir param
This replaces the semantics of the storage-dir parameter without the
deprecation notice.  The behavior of storage-dir never should have
been deprecated, though it was probably correct to deprecate the name
itself.

Rather than having both vm-storage-dir and vm-domain-storage-dir it
might be nice if the config system could just notice at what level it
was defined and do the right thing.  Indeed, this is why I'd left
things as-is for so long.

But as Master Foo famously said, "which one will reach the other side
of the river: the one who dreams of a raft, or the one that hitchhikes
to the next bridge?"

FS-5329
2014-02-11 15:50:50 +00:00
Travis Cross d3b9aaba60 Add mod_sofia support for setting socket TCP keepalive
Some OSes like linux provide a mechanism for sending TCP keepalive
pings.  Sofia provides its own mechanism for doing this in userspace.
We shouldn't conflate these two mechanisms.

FS-6104
2014-02-11 06:27:29 +00:00
Anthony Minessale c52ac4817c FS-6128 FS-6200 --resolve allocating the sofia_private on the nua_handle seems to lead to memory corruption, changing it back to malloc as done in the version before the regression 2014-02-11 04:05:40 +05:00
Anthony Minessale 386a95f47d FS-6208 --resolve that patch is correct but this other code will protect the seg in either case 2014-02-10 21:44:19 +05:00
Chris Rienzo 259337ca57 mod_http_cache: fixed validation of S3 URL 2014-02-10 08:54:43 -05:00
Anthony Minessale dd9b729f5e FS-5994 it looks like its microseconds 2014-02-09 04:23:01 +05:00
Anthony Minessale aae30e358c swigall master 2014-02-09 00:14:12 +05:00
Anthony Minessale 900db14f1d FS-6203 --resolve 2014-02-07 22:34:34 +05:00
Anthony Minessale 0539cc166b FS-6202 --resolve 2014-02-07 22:13:23 +05:00
Anthony Minessale 67d250324a FS-6198 --resolve 2014-02-07 03:58:55 +05:00
Chris Rienzo f482463440 mod_rayo: fix segfault in prompt component 2014-02-06 15:08:33 -05:00
Anthony Minessale 03c723cfd1 FS-6195 --resolve 2014-02-06 22:24:05 +05:00
Anthony Minessale 4c068c637d FS-6197 --resolve the line numbers in the trace do not match the version you reported make sure you know what version you are using 2014-02-06 21:47:24 +05:00
Travis Cross 57abca11a8 Support setting TLS cipher suites in mod_sofia
This adds a parameter tls-ciphers in which we can specify the TLS
cipher suite specification for OpenSSL.
2014-02-06 06:04:02 +00:00
Chris Rienzo 84f2199dea mod_rayo: fix message->call input validation 2014-02-05 23:19:47 -05:00
Chris Rienzo 86903757f6 FS-6192 --resolve 2014-02-05 22:25:39 -05:00
Travis Cross d4a13742ba Default to TLSv1 through TLSv1.2 if unspecified 2014-02-06 02:47:40 +00:00
Travis Cross 8c2c464bec Support setting enabled TLS versions in mod_sofia
Previously if tls-version was set to tlsv1 we supported only TLSv1,
but if it was set to sslv23 we supported all versions of TLS.  This
was a weird incorrectly documented behavior that we hope no one was
relying on.

Now we can pass a comma-separated list of TLS/SSL versions that we
would like to support in tls-version.

FS-5839 --resolve
2014-02-06 02:20:19 +00:00
Chris Rienzo f0e38b68fd FS-6181 --resolve 2014-02-05 17:00:19 -05:00
Anthony Minessale a121665b14 FS-6190 --resolve slightly modified, please test 2014-02-06 02:31:56 +05:00
Anthony Minessale 6f52c5495b FS-5994 --resolve -- tips appriciated 2014-02-06 02:20:05 +05:00
Anthony Minessale 29d4e7e693 FS-6181 --resolve 2014-02-05 16:06:30 -05:00
Anthony Minessale 795718c149 FS-6191 --resolve 2014-02-06 01:51:57 +05:00
Anthony Minessale a24f9aa8bc no 2014-02-05 14:53:11 -06:00
Ken Rice a000749e70 whitespace cleanup 2014-02-05 14:02:03 -06:00
Travis Cross 8fa385b0d7 Make bypass-media-after-hold a media-option
FS-6186 --resolve

Thanks-to: Matteo Brancaleoni <mbrancaleoni@voismart.it>
2014-02-05 19:36:15 +00:00
Travis Cross 5e8fe326c7 Move documentation to correct place 2014-02-05 17:59:08 +00:00
Anthony Minessale 3ecb504fda FS-6186 --resolve 2014-02-05 07:15:08 +05:00
Jeff Lenk 6dca277ed1 fix compiler error with last commit 2014-02-04 15:36:13 -06:00
Michael Jerris 1f2b632aee FS-5999: set visibility on lua symbols that are supposed to be exported 2014-02-04 16:09:08 -05:00
Anthony Minessale b65d2a9a78 FS-5396 --resolve add gethost function to call gethostbyname as desired 2014-02-05 01:08:31 +05:00
Anthony Minessale 4021b5ce14 try to avoid compiler optimization snafu 2014-02-05 00:31:10 +05:00
Anthony Minessale 5228e02b19 FS-5544 after going over this with a fine tooth comb, all I could find was some issues behind asymetrical nat. If there is a real problem here, post the flipping logs I asked for days ago....... 2014-02-04 11:56:30 +05:00
Peter Olsson 9059fb91cc FS-5045 2014-02-02 12:33:37 +01:00
Peter Olsson 1e0e66fd47 FS-6160 --resolve 2014-02-02 08:13:55 +01:00
Peter Olsson 40a48ae951 mod_v8: Fixed compiler warnings on Linux 2014-02-01 19:18:47 +01:00
Peter Olsson 4f9402c09d mod_v8: Fixed line endings, and removed old code. 2014-02-01 18:54:39 +01:00
Peter Olsson 04005dfa68 mod_v8: Added new extension class that makes it possible to subscribe to FS events. Wiki will be updated soon. 2014-02-01 18:20:04 +01:00
Giovanni Maruzzelli a324fe2b91 skypopen: new temporary address for downloading Skype client binary package 2014-02-01 15:16:29 +01:00
Peter Olsson 609209d031 Tweaks to silence some compiler warnings on Windows 2014-02-01 12:04:26 +01:00
Chris Rienzo 5cd9bfcf14 mod_rayo: fixed recording reference counts 2014-01-31 18:09:41 -05:00
Chris Rienzo ce945c3f49 FS-6172 --resolve mod_rayo: fire input-timers-started during prompt lifecycle 2014-01-31 13:40:39 -05:00
Travis Cross 59d10edd79 Fix build on x86/i386 systems 2014-01-31 17:49:44 +00:00
Chris Rienzo 360ef648b4 FS-6171 mod_rayo: added support for normal/groupchat/headline message types for console testing 2014-01-31 11:36:14 -05:00
James Le Cuirot 4380453ac8 mod_rayo: Translate XMPP messages to SIP messages
Call-bound XMPP messages are translated to SIP messages via
SWITCH_EVENT_SEND_MESSAGE in a similar manner to that described in
draft-ietf-stox-im-06. Messages with a type of "normal" are directed
to the caller. Other types receive a feature-not-implemented response
but it is envisaged that the "groupchat" type could be used to direct
the message to all joined parties.
2014-01-31 10:56:41 -05:00
Travis Cross f6afcb215d Remove misplaced executable bit 2014-01-31 12:09:00 +00:00
Chris Rienzo 6e38bb1a8a Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2014-01-30 14:42:41 -05:00
Chris Rienzo bda098a3a5 mod_rayo: added platform-code to end reason 2014-01-30 14:42:31 -05:00
Anthony Minessale 0148389c82 FS-6170 please test 2014-01-31 00:26:36 +05:00
Chris Rienzo 9fdf803fe8 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2014-01-30 13:10:10 -05:00
Chris Rienzo 5891951ea9 mod_rayo: fixed output start-offset and max-time 2014-01-30 13:10:00 -05:00
Anthony Minessale 6bec36168c FS-6153 try this revision 2014-01-30 23:02:28 +05:00
Jeff Lenk 7b44e5b27c compiler warnings 2014-01-29 20:46:38 -06:00
Anthony Minessale 4591088971 remove extra debug 2014-01-30 05:37:05 +05:00
Anthony Minessale f9e46cc60d break for video as well as audio when receiving certian messages 2014-01-30 05:27:54 +05:00
Anthony Minessale 32b2a45efc add more rtp statistics with several new vars for cdr processing in_jitter_min_variance in_jitter_max_variance in_jitter_loss_rate in_jitter_burst_rate in_mean_interval in_flaw_total in_quality_percentage in_mos 2014-01-30 05:08:34 +05:00
Anthony Minessale 7104ecac28 FS-6153 try this patch 2014-01-30 02:51:07 +05:00
Anthony Minessale a21cbf8142 FS-6165 --resolve 2014-01-30 00:20:21 +05:00
Chris Rienzo 5be81aef74 FS-6159 -resolve mod_rayo: prompt, input, output components return hangup cause if stopped by hangup 2014-01-29 00:41:21 -05:00
Chris Rienzo 915e8eaba1 FS-6141 --resolve mod_rayo - fixed X-headers on redirect and updated to satisfy recent spec changes 2014-01-28 20:58:01 -05:00
Anthony Minessale dfb3a4becc FS-6094 --resolve amendment 2014-01-29 02:19:03 +05:00
Anthony Minessale 8dccd213fb FS-6085 --resolve 2014-01-28 21:56:02 +05:00
Chris Rienzo 9f07a31be5 SIP-6141 --resolve 2014-01-27 22:04:10 -05:00
Travis Cross e959933d8c Fix mod_cluechoo error on load
mod_cluechoo needs to be linked against ncurses or we receive an error
about undefined symbols when loading the module.  How did this ever
work?

Thanks-to: Dušan Dragić <dragic.dusan@gmail.com>

FS-5965
2014-01-26 18:02:22 +00:00
Peter Olsson 7e04f2178c FS-6147 --resolve 2014-01-25 11:38:17 +01:00
Anthony Minessale 0e68325319 only send cng when its setup 2014-01-25 03:51:27 +05:00
Anthony Minessale 358b5db0e4 block all possible routes to write data during ice and dtls negotiation 2014-01-25 03:48:32 +05:00
Peter Olsson d878bac69c mod_v8: Skip clean before rebuild 2014-01-24 22:39:50 +01:00
Anthony Minessale a71879262a FS-6094 --resolve This change should fix the problem and you don't need to try the patch anymore 2014-01-25 00:18:10 +05:00
Jeff Lenk 790c69cb48 vs2010 reswig 2014-01-23 22:20:43 -06:00
Chris Rienzo cb6465552b mod_rayo: fix memory leak in input component 2014-01-23 21:40:11 -05:00
Anthony Minessale bd7182c390 FS-5755 part 1 2014-01-24 05:44:36 +05:00
Peter Olsson 04f7e7c025 mod_v8: Removed i18n support (ECMAScript 402) from V8 for now, to make build work on ARM platform. This will also force a rebuild of V8 2014-01-23 23:46:49 +01:00
Anthony Minessale d2ba4c60c5 FS-5420 --resolve 2014-01-24 03:11:53 +05:00
Anthony Minessale a44aea1106 FS-5676 --resolve 2014-01-24 00:36:52 +05:00
Anthony Minessale 6fef880f12 FS-5675 --resolve 2014-01-24 00:23:58 +05:00
Anthony Minessale b5821c1594 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:26:56 +05:00
Peter Olsson a120177144 mod_v8: Updated license header 2014-01-23 12:25:15 +01:00
Peter Olsson 93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
Travis Cross 3a595f278a Log channel UUID by default
We want people to have this on so that when we're looking at reported
log files we can tell what is going on.
2014-01-22 23:43:03 +00:00
William King c537fc6f61 Fixing leak in presense where the contact header doesn't include the fs_path option during a presense subscription 2014-01-22 15:28:24 -08:00
William King c3711b81c9 If libvlc fails to initialize, then the module should fail to load. 2014-01-22 13:56:22 -08:00
Anthony Minessale 4b07ee5183 remove double event crate, removing a memory leak in valet parking 2014-01-23 02:52:48 +05:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Anthony Minessale 643c88f49b FS-6140 --resolve 2014-01-23 02:13:10 +05:00
Anthony Minessale fadad7995c fix crash in mod_voicemail when trying to forward to another extension in some cases 2014-01-22 22:55:09 +05:00
Anthony Minessale e6758021e7 add support for originated_legs and originating_leg_uuid on enterprise originate 2014-01-22 22:40:29 +05:00
Peter Olsson 855361d8ae mod_v8: Force V8 build to disable python multithreading support during build, to make it safe to build even if there is not enough rights on /dev/shm. FS-6111 --resolve 2014-01-21 10:54:30 +01:00
Travis Cross 4249def9c7 Add symbols for version information
This allows us to automatically pull the version of FS out of a core
file for better reporting of bugs.
2014-01-21 04:09:51 +00:00