1528 Commits

Author SHA1 Message Date
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Brian West
07272e864e FS-6321 --resolve
Copy URI params from Refer-To header into custom header in subsequent INVITE

sip_h_X-FS-Refer-Params is set to show up in the INVITE as X-FS-Refer-Params
2014-03-07 12:56:58 -06:00
Anthony Minessale
f87ae15fc6 don't refuse invites on established sessions due to session limits 2014-03-07 23:46:26 +05:00
Anthony Minessale
0da8c6331d don't kick in nat mode on polycom tcp unless its not in the local network 2014-03-07 08:34:26 +05:00
William King
fd38a255f8 FS-6167 --resolve 2014-03-04 13:41:34 -08:00
Anthony Minessale
2dc71d2d26 add sip_refer_to_params 2014-03-01 00:13:35 +05:00
Brian West
45e19b75dd FS-6270 add client_port to SIP Registration events 2014-02-25 21:49:35 -06:00
Marc Olivier Chouinard
9f98ccc105 FS-5115 --resolve 2014-02-24 20:25:31 -05: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
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
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
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
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
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
Anthony Minessale
3ecb504fda FS-6186 --resolve 2014-02-05 07:15:08 +05:00
Anthony Minessale
4021b5ce14 try to avoid compiler optimization snafu 2014-02-05 00:31:10 +05: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
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
2747660269 FS-5959 FS-5958 2013-11-25 12:08:17 -06:00
Anthony Minessale
0d1b647197 remainder of previous patch to pass through dynamic payload numbers used 2013-11-12 00:42:32 +05:00
Anthony Minessale
f0335d0f51 FS-5948 --resolve 2013-11-08 03:53:12 +05:00
Anthony Minessale
bb9adff511 rework media code 2013-11-08 03:48:00 +05:00
Anthony Minessale
ecedd2d21c FS-5844 2013-10-31 10:35:53 -05:00
Anthony Minessale
75ad91e185 FS-5844 --resolve 2013-10-30 20:26:01 -05:00
Anthony Minessale
556e243361 FS-5910 --resolve 2013-10-24 14:29:29 -05:00
Anthony Minessale
37774268c0 FS-5882 --resolve 2013-10-17 22:40:07 +05:00
William King
aa222c7aea While sofia does garbage collection, in other locations we still call su_free after calls to sip_header_as_string. So adding it here too since we've finished using the full_contact variable. 2013-09-15 16:05:11 -07:00
Anthony Minessale
ce4cfc97c4 FS-5772 improve odds a little more but the phone is broken here 2013-09-11 02:55:31 +05:00
Anthony Minessale
38cd508a12 FS-5772 --resolve this is sort of a hack but less painful than reporting bugs to polycom 2013-09-10 23:14:30 +05:00
Anthony Minessale
149acf0c11 oops 2013-09-09 22:53:54 +05:00
Anthony Minessale
7b03cb511c FS-5717 --resolve 2013-09-09 20:08:48 +05:00
Anthony Minessale
af85dcc5c0 FS-5757 2013-09-06 04:48:56 +05:00
Anthony Minessale
21f1743b30 FS-5757 take 200 2013-09-06 01:52:11 +05:00
Anthony Minessale
2967c97d11 FS-5757 --resolve 2013-09-05 20:35:31 +05:00
Anthony Minessale
9337413715 FS-5759 --resolve regression from e45774e76464659bbfdb550ee29a399bf7854cc0 re: FS-5620 2013-09-05 05:39:03 +05:00
Anthony Minessale
ae171ba53a FS-5757 revert 2013-09-04 22:15:54 +05:00
Anthony Minessale
56e617324b FS-5757 --resolve 2013-09-04 20:30:25 +05:00