2844 Commits

Author SHA1 Message Date
Anthony Minessale
cc48015709 conf tweaks 2012-07-12 14:30:44 -05:00
Anthony Minessale
a06eb2db30 FS-4328 try this 2012-07-11 18:12:26 -05:00
Anthony Minessale
4e0f40d7c6 update 2012-07-11 17:25:45 -05:00
Anthony Minessale
2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Anthony Minessale
ba428a1559 FS-4406 please test asap and report back 2012-07-10 23:04:16 -05:00
Anthony Minessale
6904ae6f3b FS-4404 regression from b9b4db7d40159ec1b8d2a0c0f41655339daa0887 2012-07-10 13:28:38 -05:00
Stefan Knoblich
111ef49f1f mod_sofia: Use switch_add_event_header_string() for string values.
Errors fixed:
	sofia.c: In function 'sofia_handle_sip_i_refer':
	sofia.c:7323:5: error: format not a string literal and no format arguments
	sofia.c:7324:5: error: format not a string literal and no format arguments

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-10 14:30:01 +02:00
Anthony Minessale
e79e6146c5 FS-4378 add sofia::error custom event 2012-07-09 10:56:04 -05:00
Anthony Minessale
b9b4db7d40 FS-4404 --resolve 2012-07-09 10:37:15 -05:00
Anthony Minessale
9ca929218f FS-4382 --resolve 2012-07-06 11:12:14 -05:00
Anthony Minessale
da8885cc51 FS-4397 --resolve 2012-07-06 10:55:53 -05:00
Anthony Minessale
ef23fbaf12 FS-4374 moving the memory to the heap, this should take care of the problem for sure 2012-07-05 12:04:30 -05:00
Anthony Minessale
694c8c0fa1 FS-4335 please update and try this 2012-07-05 11:42:07 -05:00
Anthony Minessale
15fda06646 FS-4381 --resolve 2012-07-03 09:23:25 -05:00
Anthony Minessale
5f09b40381 add sip_recovery_break_rfc variable to set globally or per channel to not reverse the from and 2 on uas re-invites 2012-06-29 14:41:06 -05:00
Michael Jerris
e9a66618ff FS-4353: missing free from last commit 2012-06-27 15:53:15 -04:00
Anthony Minessale
ed0ab36e2d FS-4353 redirect case 2012-06-27 12:25:03 -05:00
Anthony Minessale
b0f53cd625 FS-4353 --resolve this may also fix FS-4079 2012-06-27 09:33:01 -05:00
Brian West
37e61ee6eb FS-4320 sigh 2012-06-21 13:07:38 -05: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
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
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
Anthony Minessale
fc2bb00eb1 FS-4298 --resolve var is called execute_on_sip_reinvite 2012-06-08 12:43:50 -05: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 a6bb4545ebf7ffc773e6bc7ab399a3863ca09246.
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
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
Travis Cross
00e32e4ec2 use SWITCH_VERSION_FULL for the sofia user agent 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
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
f685e4c504 allow ep_codec_string to draw from absolute_codec_string before the profile prefs 2012-06-01 10:06:28 -05:00
Anthony Minessale
693e04a7de FS-4250 please post a new log if this does not work 2012-05-31 09:04:14 -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