Commit Graph

24531 Commits

Author SHA1 Message Date
Anthony Minessale ea881b191f media/srtp refactoring pass 2013-05-17 15:39:30 -05:00
William King 8d7aa3ff65 FS-5441: --resolve 2013-05-17 12:39:17 -07:00
William King 58e205ccdb how...? 2013-05-17 11:36:31 -07:00
William King cfeb6aaf54 Since there isn't neutral ground, on the rtmp state callback we actually have to force the write lock of the session, but we only need a try lock on removing the session from the rsession->session_hash. This removes a deadlock caused when we had to enforce with locks that the rsession couldn't be destroyed if the FS session was in the middle of a hangup. 2013-05-17 11:36:30 -07:00
William King f24d1cde3d Seems the session wasn't coming to the hangup in a locked state. 2013-05-17 11:36:30 -07:00
William King 36f198e883 Seems having a read lock still prevents a write lock to be taken, even if the thread that is trying to get the write lock currently has the read lock. 2013-05-17 11:36:29 -07:00
William King 9b0212ab59 Include the write lock since we're changing the tech_pvt 2013-05-17 11:36:29 -07:00
Steve Underwood 37d109b107 Some tweaks to the image translate code 2013-05-16 02:28:20 +08:00
Anthony Minessale 97faaab42c FS-5430 --resolve 2013-05-15 09:27:18 -05:00
Jeff Lenk a4f3629773 trivial fix compiler warning 2013-05-15 11:51:55 -05:00
Anthony Minessale d50366f377 FS-5418 --resolve 2013-05-15 08:08:41 -05:00
Anthony Minessale d5ad021720 FS-5208 --resolve 2013-05-15 07:36:56 -05:00
Anthony Minessale 644720454f fix some minor regression in media code 2013-05-14 12:55:02 -05:00
Anthony Minessale 101b116daf FS-5011 try to fill gaps 2013-05-14 11:22:53 -05:00
Steve Underwood 11f8491170 Fixed a silly in the FAX image resolution settings 2013-05-15 01:49:58 +08:00
Anthony Minessale 75c3b8b83e FS-5325 force rebuild 2013-05-14 07:44:34 -05:00
Anthony Minessale 81788f1192 FS-5416 --resolve just missing the part that registers it 2013-05-14 07:38:00 -05:00
Anthony Minessale 0aaba4588a fix stun lookup returning 1 for port 2013-05-13 16:17:19 -05:00
Anthony Minessale 97d47af882 FS-5407 --resolve 2013-05-13 14:21:08 -05:00
Anthony Minessale 1eae2a1941 FS-5410 --resolve 2013-05-13 13:15:33 -05:00
Anthony Minessale fd86c038c9 FS-5406 --resolve 2013-05-12 08:06:31 -05:00
Jeff Lenk d466316ace FS-5325 windows compile 2013-05-10 17:31:01 -05:00
Ken Rice 15f219ea25 Require OpenSSL 2013-05-10 16:02:15 -05:00
Raymond Chandler bba4540fe5 add context 2013-05-10 16:31:12 -04:00
Anthony Minessale 5761624f5a FS-5325 2013-05-10 12:55:26 -05:00
Anthony Minessale cb7a6bd34b FS-5085 the last change helped weed out the real bug which is this commit 2013-05-10 10:45:28 -05:00
Jeff Lenk b85c24df08 spandsp windows fix syntax for gettimeofday 2013-05-10 12:46:03 -05:00
Anthony Minessale bb6b02f2d6 FS-5403 --resolve 2013-05-10 09:59:02 -05:00
Stefan Knoblich 39fb4544dd FreeTDM: ftmod_misdn uses clock_gettime() which is in librt, add a check
Fixes -Wl,-z,now / -Wl,-z,defs errors about undefined symbols.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:10 +02:00
Stefan Knoblich 80a2b76620 FreeTDM: Make libpri pri_version() check -Wunused-but-set-variable safe
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:10 +02:00
Stefan Knoblich 284ce5407b FreeTDM: Move external ftmod_* library dependencies to _LIBADD
Making the build -Wl,--as-needed safe.
Tested on Centos 5.x + Gentoo.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:10 +02:00
Stefan Knoblich b793ccbe43 FreeTDM: Fix implicit conversion between enumeration types error
Full clang error message:

  error: implicit conversion from enumeration type 'ftdm_bool_t' to
  different enumeration type 'ftdm_status_t' [-Werror,-Wconversion]

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:10 +02:00
Stefan Knoblich cbf22d8a32 FreeTDM: Silence -Wtautological-compare warnings emitted by clang
Fixes "warning: comparison of unsigned expression >= 0 is always true".

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:09 +02:00
Stefan Knoblich ae58a4c1ba FreeTDM: Use ftdm_unused_arg() to silence -Wunused-argument warnings
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-05-10 19:04:09 +02:00
Steve Underwood d501c77566 Relax the image resolutions supported for FAX 2013-05-10 21:44:17 +08:00
Steve Underwood 46ec57c415 The gettimeofday() function spandsp provided for Windows apparently falls over
after 25 hours. I guess not many people are inserting header lines on FAX pages.
Hopefully this update fixes the problem.
2013-05-10 11:54:20 +08:00
Anthony Minessale 30c27efb62 move log message to avoid logging null 2013-05-09 14:34:39 -05:00
Anthony Minessale 16690e491d FS-5399 --resolve 2013-05-09 14:05:09 -05:00
Anthony Minessale 79230a5d8a FS-5325 i'll put the nonblocking in but I still think this is a problem with openssl, a short read is not there every single time you connect, When the lib is in full blocking mode it should be handling the complicated actions internally. As complicated as socket programming is, async ssl is even worse because it requires you to do your own buffering and attemps to read may fail waiting for you to write or vice-versa which should have been handled for us in the lib. non-interruptable syscalls are getting pretty outdated and not enabling it is much less complex than making every socket app on earth be non-blocking 2013-05-09 12:56:42 -05:00
Anthony Minessale f00bd136ac FS-5360 --resolve fields are exec-on-max-failures exec-on-max-timeouts pin, needs testing 2013-05-09 12:28:43 -05:00
Anthony Minessale 66ba282233 FS-5390 --resolve 2013-05-09 10:29:45 -05:00
Anthony Minessale ba97929a1a FS-5398 --resolve 2013-05-09 10:08:14 -05:00
Michael S Collins 67226c3aa6 update to be recorded phrases 2013-05-09 10:26:02 -07:00
Giovanni Maruzzelli 0330520eba test 2, please ignore 2013-05-09 17:00:54 +00:00
root 0fe65187cd test, please ignore 2013-05-09 16:59:39 +00:00
William King 9fa4bed8e3 FS-5395: False alarm on a reported valgrind memory leak. The io_private is alloc'd from a memory pool which valgrind sucks at tracking. No need to free this, because it'll get cleared when the memory pool on the rsession is destroyed. 2013-05-08 18:45:24 -07:00
William King b3117e8f88 FS-5395: --resolve Resolve another mod_rtmp crash where oh specific hangup scenarios there would be a free of variable that wasn't ever malloced 2013-05-08 16:54:05 -07:00
Anthony Minessale 0a68bee88e FS-5085 I discovered that the bowout is happening from both legs at once, we only need to check this condition on the A side of the loopback bridge 2013-05-08 13:17:07 -05:00
Brian West 7c0dc4c25d Undo previous change 2013-05-08 14:40:10 -05:00
Raymond Chandler 43837837fd Merge branch 'master' of fs-git:freeswitch 2013-05-08 13:59:39 -04:00