Commit Graph

9764 Commits

Author SHA1 Message Date
Anthony Minessale 7086a92f9b FS-4318 try this, success is 0 so that original patch was wrong 2012-06-24 15:05:59 -05:00
Travis Cross ee8c9e869b Fix clang warnings in mod_lua 2012-06-24 09:13:21 +00:00
Travis Cross f1183ef970 Fix use of switch_event_add_body
On some compilers this fixes the build.

gcc reports:

  error: format not a string literal and no format arguments

clang reports:

  error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
2012-06-24 07:38:08 +00:00
Anthony Minessale 86df8b338e more v18 changes 2012-06-23 19:33:26 -05:00
Anthony Minessale 1465ba90e6 tweaks 2012-06-23 19:00:53 -05:00
Anthony Minessale 93a8445f1c change name 2012-06-23 18:53:29 -05:00
Anthony Minessale 0f6647d278 add some inital v18 interface points 2012-06-23 18:48:26 -05:00
Anthony Minessale ecb84bd126 FS-4336 --resolve 2012-06-23 14:55:11 -05:00
Jeff Lenk 2171e5830d vs2010 reswig 2012-06-23 16:58:44 -05:00
Anthony Minessale 398c84b671 swigall 2012-06-23 16:40:42 -05:00
Anthony Minessale cfe435c667 fix typo 2012-06-23 06:18:09 -05:00
Anthony Minessale 76fae0cec0 add video support to lib/mod.dingaling this needs testing, google voice won't work with video calls so disable video codecs if you use that 2012-06-22 18:15:06 -05:00
Anthony Minessale 3d36d8557b change default number to 97 2012-06-22 18:15:06 -05:00
Brian West 37e61ee6eb FS-4320 sigh 2012-06-21 13:07:38 -05:00
Jeff Lenk 2091f4f0d3 FS-4319 --resolve portaudio not always moving the active call to the top of its internal list (invalid ringing) 2012-06-21 09:52:13 -05:00
Mathieu Rene a0a9efcf02 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-06-20 15:43:20 -04:00
Mathieu Rene d67031a9c6 FS-4007 2012-06-20 15:42:57 -04:00
Jeff Lenk 9e90bbd12b Revert "FS-4321 fix startup with odbc"
This reverts commit 28fd1f97ea.

this needs to be fixed a different way
2012-06-20 11:05:53 -05:00
Giovanni Maruzzelli a80b68367c FS-4278 skypopen: oss driver compiles on kernels >= 3.4.0 2012-06-20 11:28:57 +02:00
dschreiber d6c482e40f Added support for Content-Type and other optional headers when doing an HTTP PUT 2012-06-19 21:25:00 -07:00
Michael Jerris 6ea4a5c503 typo 2012-06-19 22:43:28 -04:00
Michael Jerris 773fb5e3a5 use reg call id on reboot notifies and pass it back in reverse auth lookup 2012-06-19 21:58:43 -04:00
Michael Jerris f351a908ff wow grandstream 2012-06-19 16:02:14 -04:00
Michael Jerris ea503ea23e fix pnp config for grandstream 2012-06-19 14:22:57 -04:00
dschreiber 1e696d2c93 FS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applying this 10ms polling interval patch that Tony committed a few months ago. Please report any issues. 2012-06-19 09:13:29 -07:00
dschreiber 7e6018985c Merge remote branch 'origin/master' into FS-3432 2012-06-19 08:10:54 -07:00
Jeff Lenk 28fd1f97ea FS-4321 fix startup with odbc 2012-06-19 09:02:12 -05:00
Jeff Lenk f9d279664c add test version of mod_redis to vs2010 solution - not built by default 2012-06-18 17:07:54 -05:00
Anthony Minessale 1bfda1ecfc FS-4318 --resolve 2012-06-18 10:30:33 -05:00
Daniel Swarbrick 9bd1c33115 Don't pass null pointers to bson_append_string(). Thanks Tamas Cseke for original patch.
Fixes FS-4309
2012-06-14 20:11:57 +02:00
Anthony Minessale a49dc84a15 swigall 2012-06-14 11:32:14 -05:00
Christopher Rienzo b472edf444 switch to a signal in mod_posix_timer that doesn't conflict with valgrind 2012-06-14 12:03:50 +00:00
Brian West ae50f474b4 Why limit the query to profile_name passed. All the underlying callbacks deal with the profile not matching the one passed and will do the right thing. 2012-06-13 16:27:29 -05:00
Anthony Minessale 9470c079dd FS-4298 see if you can see the sip_reinvite_sdp variable with this patch 2012-06-12 10:15:14 -05:00
Tamas Cseke 794f8cfb8b reply state seems to be unnecessary FS-3432 2012-06-12 11:37:35 +02:00
Tamas Cseke 44fb1d00d7 fix session hash rwlock vs reply mutex order FS-3432 2012-06-12 11:34:20 +02:00
dschreiber 3858e625a4 The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause. 2012-06-11 21:59:47 -07:00
Travis Cross c85c8d7bbd
Add mechanism to set OpenSSL session timeout
In a sofia profile, you can now set the parameter tls-timeout to a
positive integer value which represents the maximum time in seconds
that OpenSSL will keep a TLS session (and its ephemeral keys) alive.

This value is passed to OpenSSL's SSL_CTX_set_timeout(3).

OpenSSL's default value is 300 seconds, but the relevant standard
(RFC 2246) suggests that much longer session lifetimes are
acceptable (it recommends values less than 24 hours).

Longer values can be useful for extending battery life on mobile
devices.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-11 21:46:05 +00:00
Anthony Minessale a10ec2b991 FS-4299 --resolve regression from 23f8967c the code was not making sure both endpoints were type 'sofia' and dereferencing dingaling channel into sofia and causing memory corruption 2012-06-11 13:30:00 -05:00
Anthony Minessale 56325e8c71 FS-4079 possible fix 2012-06-11 11:15:41 -05:00
Tamas Cseke 3f6b5a5c01 fix reply timeout: move hash and pid to session pool FS-3432 2012-06-11 17:25:28 +02:00
Michael Jerris ec27618fc8 don't segfault after starting sofia, upon xml_open_config lookup failure for the profile from launch_sofia_worker_thread 2012-06-11 10:43:55 -04:00
Christopher Rienzo 187fe4e14e update name/e-mail address 2012-06-11 13:05:29 +00:00
Tamas Cseke d2e9e46eb6 move session destroy to one place and hangup in others to eliminate races and minimize session hash wrlocks FS-3432 2012-06-11 15:03:58 +02:00
Tamas Cseke 83f230cce6 fix possible memory leak FS-3432 2012-06-11 15:00:32 +02:00
Anthony Minessale fc2bb00eb1 FS-4298 --resolve var is called execute_on_sip_reinvite 2012-06-08 12:43:50 -05:00
Anthony Minessale a17027959d use a dummy event here 2012-06-08 12:06:40 -05:00
Christopher Rienzo 9c94ac312e Fix Ubuntu 11.10 compiler error on unchecked write() return value. 2012-06-08 18:12:33 +00:00
Travis Cross 086f617442 increase buffer size for local SDP
There are a lot of codecs these days, and some clients offer all of
them.  If we run out of space in this buffer our local SDP will get
silently truncated, which will cause a difficult to diagnose error in
Sofia-SIP.

Thanks to Anthony Minessale.

FS-4293 --resolve
2012-06-08 16:14:21 +00:00
Travis Cross dc30013360 fix buffer length calculation in call to generate_m
This error was causing us to call generate_m with a buffer length that
was less than the strlen of the buffer we were passing.  The result
was truncated local SDP which would cause sofia to fail if the
truncation was in a particularly bad place.

Thanks to Anthony Minessale for the fix and working with me to
diagnose the issue.

FS-4293 --resolve
2012-06-08 16:14:20 +00:00