Commit Graph

1272 Commits

Author SHA1 Message Date
Anthony Minessale 41fa2c9c6a FS-6462 --resolve
I found a problem here but it may not completely match your expectations.
I reviewed the RFC 4028 and checked against the code and I discovered we should not be putting a Min-SE in any response at all besides a 422:

section 5:

   The Min-SE header field MUST NOT be used in responses except for
   those with a 422 response code.  It indicates the minimum value of
   the session interval that the server is willing to accept.

I corrected this problem and implemented the 422 response so if you request a value lower than the minimum specified for the profile.
If the value is equal or higher to the minimum, it will be reflected in the Session-Expires header in the response and no Min-SE will be present.
2014-04-17 04:32:44 +05:00
Raymond Chandler 33c484ad9f add parsing of user params on invite 2014-04-15 13:00:11 -04:00
Brian West 1936bdd410 FS-6422: --resolve obvious copy and paste error 2014-04-03 07:21:59 -05:00
Anthony Minessale 2d35604369 FS-6350 --resolve Parse params out of user portion of caller_id and save them to sip_name_params
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-03-14 13:19:11 -05:00
Anthony Minessale c4a5042c92 don't refuse invites on established sessions due to session limits
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-03-07 23:48:29 +05:00
Anthony Minessale 35d7dbe809 add sip_refer_to_params 2014-03-01 00:13:49 +05:00
Anthony Minessale 5bddc33113 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
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-02-14 23:52:13 +05:00
Anthony Minessale bdc4005678 FS-6221 --resolve 2014-02-13 03:26:47 +05:00
Travis Cross cd6154b49e 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:40:10 +00:00
Anthony Minessale 5b18879813 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:06:11 +05:00
Travis Cross 8b4579c01d 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:32 +00:00
Travis Cross aae91d6593 Default to TLSv1 through TLSv1.2 if unspecified 2014-02-06 02:45:51 +00:00
Travis Cross 3a753f1de2 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:45:51 +00:00
Anthony Minessale cd4e926969 try to avoid compiler optimization snafu equiv to: 4021b5c 2014-02-05 00:36:10 +05:00
Anthony Minessale 90add491ca FS-6140 --resolve 2014-01-23 02:13:21 +05:00
Anthony Minessale a3a795a08a add version to log 2014-01-20 23:34:46 +05:00
Anthony Minessale b209b3f087 FS-5987 pushing the patch now since no matter what its better than before
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-12-13 23:14:21 +05:00
Anthony Minessale ee7ac115c9 remove WTF 2013-11-12 01:29:16 +05:00
Anthony Minessale 137b45da55 FS-5844 2013-10-31 10:36:06 -05:00
Anthony Minessale bd20c517d6 FS-5844 --resolve 2013-10-30 20:31:38 -05:00
Mariusz Czułada c84e378ac4 Trailing space removed 2013-10-28 11:15:32 +01:00
Anthony Minessale 6872ab5682 FS-5910 --resolve 2013-10-25 01:27:21 +05:00
William King b03ba503cd 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:30 -07:00
Anthony Minessale 931027802a FS-5772 improve odds a little more but the phone is broken here
Conflicts:
	src/include/switch_types.h
2013-09-11 02:57:49 +05:00
Anthony Minessale f5ba0bb7d4 FS-5772 --resolve this is sort of a hack but less painful than reporting bugs to polycom
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-09-10 23:16:09 +05:00
Anthony Minessale 9ad4cdb2d5 oops 2013-09-09 22:54:09 +05:00
Anthony Minessale 8ceab4ce11 FS-5717 --resolve 2013-09-09 20:09:00 +05:00
Anthony Minessale e6e4c62913 FS-5757 2013-09-06 04:49:07 +05:00
Anthony Minessale a5e28f93c6 FS-5757 2013-09-06 02:06:38 +05:00
Anthony Minessale 8f62bc6252 FS-5757 --resolve 2013-09-05 20:58:23 +05:00
Anthony Minessale ac875b7810 FS-5757 --resolve 2013-09-05 20:36:03 +05:00
Anthony Minessale a07dd2dc58 FS-5759 --resolve regression from e45774e764 re: FS-5620 2013-09-05 05:39:18 +05:00
Anthony Minessale 670b496c48 FS-5757 revert 2013-09-04 22:16:37 +05:00
Anthony Minessale 05811bb085 FS-5757 --resolve
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-09-04 20:36:55 +05:00
Anthony Minessale cbdcaba541 FS-5748 --resolve regression from FS-5665 511efc5cf0 2013-09-04 01:08:14 +05:00
Anthony Minessale 706aa0903c fix rfc4579 method=bye handling 2013-08-21 22:01:01 +05:00
Anthony Minessale 2449371329 FS-5709 --resolve 2013-08-17 02:16:38 +05:00
Ken Rice a29b2c2f7f FS-5648 --resolve 2013-08-14 09:49:48 -05:00
Anthony Minessale 4296b5e257 FS-5682 --resolve new syntax <action application="set" data="sip_multipart=application/pidf+xml:1234"/> use push instead of set to add more to the same channel 2013-08-08 22:55:34 +05:00
Anthony Minessale 1ba3cc0d3e FS-5665 --resolve this should push the extra ones into the variable and convert it to an array 2013-08-08 22:24:51 +05:00
Anthony Minessale 6f2671b2d5 FS-5682 revert 2013-08-08 20:32:01 +05:00
Anthony Minessale bd1c6106dc FS-5682 2013-08-08 05:15:18 +05:00
Anthony Minessale c0477f966f FS-5652 --resolve
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2013-07-29 16:57:55 -05:00
Anthony Minessale 3d9e9713b8 missed a spot 2013-07-25 14:36:05 -05:00
Anthony Minessale 7d020eff65 FS-5561 --resolve
Merge remote-tracking branch 'moy/blind-transfer-response'
2013-07-24 16:17:58 -05:00
Anthony Minessale c4e2745923 FS-5634 --resolve this patch should fix it but comment it out instead in the old version to get the same effect 2013-07-24 11:23:38 -05:00
Anthony Minessale b9c9d34482 FS-5621 2013-07-20 14:06:40 -05:00
Anthony Minessale dcd15ff1c0 FS-5620 --resolve 2013-07-19 21:50:55 -05:00
Seven Du 0c5bd268f4 FS-5498 --close remove debug line 2013-07-20 02:19:16 +08:00
Anthony Minessale 3968f41590 FS-5498
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.h
	src/mod/endpoints/mod_sofia/sofia.c
	src/mod/endpoints/mod_sofia/sofia_presence.c
	src/mod/endpoints/mod_sofia/sofia_reg.c
2013-07-19 12:15:10 -05:00