Commit Graph

12937 Commits

Author SHA1 Message Date
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
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
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
Travis Cross 9c463fdbdc fix typo
This amends commit a6bb4545eb.
2012-06-07 20:12:04 +00:00
Travis Cross 49666cee8d add some sofia debugging for the local SDP
Related to issue FS-4293.
2012-06-07 20:09:06 +00:00
Anthony Minessale a6bb4545eb FS-4293 2012-06-07 13:00:52 -05:00
Jeff Lenk 20f20c8a5c FS-4248 prevent seg for unsupported say method 2012-06-07 10:06:09 -05:00
Anthony Minessale b4bd30816e FS-4290 --resolve 2012-06-05 12:30:01 -05:00
Michael Jerris 2983003f95 do update to state on channels table at hangup 2012-06-05 13:19:34 -04:00
Michael Jerris e4caea6ffd fix build error 2012-06-04 16:40:32 -04:00
Raymond Chandler 9b488fbffd pnp 2012-06-04 15:16:30 -04:00
Anthony Minessale d2bc9a2b12 FS-4137 2012-06-04 09:41:46 -05:00
Anthony Minessale 6a7fe5411f FS-4285 --resolve 2012-06-04 09:24:42 -05:00
Travis Cross 00e32e4ec2 use SWITCH_VERSION_FULL for the sofia user agent 2012-06-01 22:22:44 +00:00
Travis Cross 49ac909065 skypopen/gsmopen should use SWITCH_VERSION_FULL here 2012-06-01 22:22:44 +00:00
Travis Cross c1b2472781 SWITCH_VERSION_REVISION includes the dash or dot itself 2012-06-01 22:22:44 +00:00
Travis Cross c98cdb4e04 avoid warning if late negotiation is enabled anyway 2012-06-01 21:44:21 +00:00
Anthony Minessale 879830f61c FS-4167 --resolve 2012-06-01 14:33:15 -05:00
Travis Cross c6aa2f14ec add config comments about zrtp-passthru and late negotiation 2012-06-01 21:27:33 +00:00
Anthony Minessale 410040218a add warning so users know inbound-zrtp-passthru will enable late negotiation 2012-06-01 14:11:21 -05:00
Anthony Minessale 241bdf4166 FS-4279 FS-3279 --resolve 2012-06-01 13:56:55 -05:00
Anthony Minessale 6d02716ac5 last commit part 2 2012-06-01 13:28:30 -05:00
Anthony Minessale 75aab0ee6c put presence data in state events 2012-06-01 13:21:12 -05:00
Anthony Minessale f685e4c504 allow ep_codec_string to draw from absolute_codec_string before the profile prefs 2012-06-01 10:06:28 -05:00
Marc Olivier Chouinard b2d183099f mod_voicemail: Remove the Goodbye prompt when voicemail is disabled when trying to leave a message 2012-05-31 23:36:37 -04:00
Anthony Minessale 693e04a7de FS-4250 please post a new log if this does not work 2012-05-31 09:04:14 -05:00
Ken Rice 5be9857af2 remove mod_fax. this has been deprecated for quite a while 2012-05-31 10:25:49 -05:00
Christopher Rienzo be2ec29282 Add Maintainer to mod_posix_timer, mod_unimrcp, mod_http_cache 2012-05-31 13:24:24 +00:00
Giovanni Maruzzelli 07bc7ba763 gsmopen and skypopen: updated License headers 2012-05-31 07:41:14 +02:00
Jeff Lenk 39bad5b13e vs2010 reswig for last commit 2012-05-30 15:58:48 -05:00
Anthony Minessale 3e1d68b0a6 FS-4250 --resolve erase replaces header after using it 2012-05-30 13:08:31 -05:00
Anthony Minessale 192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
Anthony Minessale 8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Anthony Minessale baf5bbd565 FS-4266 --resolve 2012-05-29 08:42:51 -05:00
Travis Cross c6b523c65f add inbound-zrtp-passthru to sample configs 2012-05-27 05:58:12 +00:00
Travis Cross 8513be49de enable inbound-late-negotiation in sample configs
We often tell people to enable this for various reasons; it likely
makes a sensible default.
2012-05-27 05:50:47 +00:00
Travis Cross 9b569ec875 cleanup and consolidate mod_sofia configuration example 2012-05-27 05:23:29 +00:00
Anthony Minessale 03b92c9ba1 FS-4251 --resolve just a silly oversight in the code specific to this use case, thanks 2012-05-25 11:02:56 -05:00
Marc Olivier Chouinard 09bef08b83 FS-4254 --resolve
I've changed the variable name from cc_export to cc_export_vars to be more consistant from the original patch
2012-05-25 13:45:02 -04:00
Marc Olivier Chouinard d7002351d7 mod_voicemail: Make sure vm_fsdb api create the user directory before trying to move file into it 2012-05-25 07:18:55 -04:00
Jeff Lenk b0e95fdad6 vs2010 reswig mod_managed 2012-05-24 16:03:56 -05:00
Anthony Minessale 9b6702da67 swigall 2012-05-24 13:53:23 -05:00
Anthony Minessale 9daf595443 swigall 2012-05-24 13:52:53 -05:00