3618 Commits

Author SHA1 Message Date
Brian West
1d36f5b219 FS-5915 --resolve 2014-02-28 16:09:59 -06:00
Anthony Minessale
2dc71d2d26 add sip_refer_to_params 2014-03-01 00:13:35 +05:00
Anthony Minessale
b82df8a7da FS-6287 this should either prevent the problem or spell out what is causing it. please test 2014-02-28 23:23:30 +05:00
Brian West
45e19b75dd FS-6270 add client_port to SIP Registration events 2014-02-25 21:49:35 -06:00
Anthony Minessale
5646957c5b FS-5937 2014-02-26 04:06:59 +05:00
Marc Olivier Chouinard
9f98ccc105 FS-5115 --resolve 2014-02-24 20:25:31 -05:00
Brian West
97e136c12b FS-5724 include realm in sofia::unregister Event 2014-02-22 18:31:23 -06:00
Travis Cross
19dbd07ff8 Allow access to headers from INVITE
This adds a sip profile parameter parse-all-invite-headers that when
set parses all headers from an INVITE into channel variables.  The
headers are converted to lowercase, underscores are replaced with
dashes, and the result is prefixed with sip_i_.  Headers than exist
more than once are set as arrays.

FS-6075 --resolve

Thanks-to: Peter Olsson <peter@olssononline.se>
2014-02-21 20:45:40 +00:00
Brian West
8bf70dcf47 FS-6164 I can see from this jira that this should be strcasecmp so SIP or sip are caught 2014-02-20 13:50:04 -06:00
Travis Cross
bd72cd9cc1 Allow setting late margin on register expirations
When an endpoint registers to us we internally mark the expiration as
some seconds longer than the actual registration.  Previously this
value was fixed at 60 seconds.

Some people need this value to be shorter so they can meet their SLA
by taking a different action when a device doesn't re-register when
expected.

This commit adds a SIP profile parameter sip-expires-late-margin which
allows setting the margin value we apply here.

FS-6101 --resolve

Thanks-to: Emmanuel Schmidbauer <e.schmidbauer@gmail.com>
2014-02-20 16:07:53 +00:00
Anthony Minessale
b3c02a547e FS-6230 --resolve There was no NAT detection enabled on the calls, this patch will activate it explicitly when used with force-rport to avoid a similar problem with other users 2014-02-14 23:50:17 +05:00
Anthony Minessale
c46bc9d565 FS-6223 --resolve 2014-02-13 22:11:34 +05:00
Anthony Minessale
a0d6ebd80d FS-6222 --resolve 2014-02-13 20:46:05 +05:00
Anthony Minessale
7ed4ed65db 0a63cdc4b2b35bb001513578beff0af431249b4a this might help 2014-02-13 05:50:39 +05:00
Anthony Minessale
0a63cdc4b2 FS-6222 try this patch 2014-02-13 04:08:24 +05:00
Anthony Minessale
35f2bcccf7 FS-6221 --resolve 2014-02-13 03:26:09 +05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale
10d2dd3e73 use portable switch_inet_ntop 2014-02-12 03:31:21 +05: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
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
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
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
Anthony Minessale
a121665b14 FS-6190 --resolve slightly modified, please test 2014-02-06 02:31:56 +05: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
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
a21cbf8142 FS-6165 --resolve 2014-01-30 00:20:21 +05:00
Anthony Minessale
8dccd213fb FS-6085 --resolve 2014-01-28 21:56:02 +05: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
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
bfeed7514b add version to log 2014-01-20 23:34:32 +05:00
Anthony Minessale
8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Raymond Chandler
3eb645a336 FS-6093 --resolve 2014-01-09 14:30:41 -05:00
Anthony Minessale
ef730b75aa FS-5987 pushing the patch now since no matter what its better than before 2013-12-11 00:04:26 +05:00
Anthony Minessale
30325093d4 FS-6009 --resolve 2013-11-27 23:55:00 -06:00
Anthony Minessale
2747660269 FS-5959 FS-5958 2013-11-25 12:08:17 -06:00
Anthony Minessale
8015a3a0a6 fix typo that caused a seg in presesnce 2013-11-23 02:32:02 +05:00
Anthony Minessale
4129adc9ac update more fields on re-subscribe 2013-11-22 22:21:32 +05:00
Anthony Minessale
ccaa3ae732 FS-5959 2013-11-21 01:38:21 +05:00
Anthony Minessale
4fb80bf301 FS-5977 --resolve 2013-11-15 21:33:05 +05:00
Anthony Minessale
e603c17de8 try to improve performance of subscribe sip handler 2013-11-13 21:41:37 +05:00