Commit Graph

6606 Commits

Author SHA1 Message Date
Mathieu Parent c9e09cf78a Revert local stuff from previous commit 2013-06-07 07:26:04 +00:00
Jeff Lenk f6838e2ce0 windows openssl missing file 2013-06-07 07:25:58 +00:00
Jeff Lenk 329fd4715a upgrade windows openssl to 1.0.1c 2013-06-07 07:25:58 +00:00
Stefan Knoblich 4ed7cd977a esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00
Stefan Knoblich a573be11a1 ivrd: fflush() stdout before entering esl_listen()
Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00
Anthony Minessale 50b68f2f85 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:19:53 -05:00
Brian West 31b6d6017b Up this buffer to prevent boxes from locking up if they receive more than 1000 bytes. 2013-06-04 17:09:33 -05:00
Stefan Knoblich bf0b3291bb ftmod_libpri: Fix channel iterator memory leak
Keep the original iterator around to be able to actually free it
after use.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:49:00 +02:00
Stefan Knoblich 424850f688 ftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()
Catch single channel RESTART/RESTART ACK events for non-B-channels,
that would lead to a NULL pointer dereference, because those do not have
per-channel private data (chan->call_data = chan_priv == NULL).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:48:45 +02:00
Mathieu Parent b36ad82da7 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-05-31 15:10:42 -05:00
Brian West 83c6f4250b add kirk wireless servers to safe as they do not do rport 2013-05-31 11:56:53 -05:00
Travis Cross 5e7485ff20 Avoid dereferencing potential null value 2013-05-29 02:52:13 +00:00
Travis Cross 9ce4be3daa Remove assignment without effect 2013-05-29 02:52:05 +00:00
Travis Cross ca9d806042 Avoid dereferencing potential null value 2013-05-29 02:51:57 +00:00
Travis Cross 83e33bb399 Handle potential malloc failure better 2013-05-29 02:51:51 +00:00
Travis Cross 58e48416be Add missing text editor local variable blocks 2013-05-29 02:50:03 +00:00
Travis Cross 00769c458f Fix unlikely memory leak in ESL 2013-05-29 02:48:59 +00:00
Travis Cross 800fe2a970 Remove assignment without effect in fs_cli 2013-05-29 02:48:50 +00:00
Travis Cross 987f76d379 Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-29 02:48:33 +00:00
Jeff Lenk 73257d7ca2 FS-5479 --resolve 2013-05-29 02:48:23 +00:00
Jeff Lenk 1926a54bd0 fix unused parameter warning on windows 2013-05-29 02:48:17 +00:00
Travis Cross d5d9e45632 Remove self-assignment without any effect
clang:

  error: explicitly assigning a variable of type 'uint16_t' (aka 'unsigned short') to itself [-Werror,-Wself-assign]
2013-05-29 02:47:41 +00:00
Travis Cross f07e58d30f Handle a failure of strerror_r
This fixes the build on gcc-4.7.3.  The build was breaking with:

  error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 21:44:16 +00:00
William King 898a487443 Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used. 2013-05-18 20:42:35 -07:00
William King 4192bf3370 Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now. 2013-05-18 20:15:14 -07:00
Anthony Minessale d3c5713649 FS-5325 force rebuild 2013-05-14 07:44:48 -05:00
Jeff Lenk b52994ed5d FS-5325 windows compile
(cherry picked from commit d466316ace)
2013-05-10 17:34:06 -05:00
Anthony Minessale b8b6756a44 FS-5325 2013-05-10 12:55:46 -05:00
Anthony Minessale 4f8faf9b78 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:59 -05:00
Anthony Minessale d6cd34143b FS-5325 2013-05-07 11:30:53 -05:00
Anthony Minessale b4feb4d93f rebuild 2013-04-25 12:15:50 -05:00
Anthony Minessale d7e107a46a add tcp keepalive where possible 2013-04-25 12:15:30 -05:00
Anthony Minessale 03f9daf002 remember to file your tps reports 2013-04-24 15:52:10 -05:00
Anthony Minessale 31f294e417 FS-5343 --resolve
Conflicts:
	libs/sofia-sip/.update
2013-04-24 12:11:02 -05:00
Anthony Minessale 9dcfc67dd0 FS-5325 this should prefer v4 addrs to avoid the blocking on connect as well so you can use the dns name again 2013-04-24 10:50:36 -05:00
Anthony Minessale 6368321bd3 FS-5325 2013-04-24 10:50:36 -05:00
Jeff Lenk 33c389add5 revert unintentional part of FS-5273 2013-04-21 16:03:15 -05:00
Anthony Minessale eebf11b350 FS-3612 --resolve This got reverted by accident. Funny that it took a year for someone to notive =0 2013-04-19 15:29:07 -05:00
Jeff Lenk 0afcde5440 FS-5307 --resolve 2013-04-15 11:55:33 -05:00
Jeff Lenk 434a286b48 Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable 2013-04-08 19:47:02 -05:00
Jeff Lenk 2294d777b8 FS-5273 --resolve 2013-04-08 19:41:14 -05:00
Anthony Minessale 61c65b47ca FS-5271 --resolve 2013-04-08 12:53:29 -05:00
Steve Underwood 311cc1060b Added missing symbol FP_CONSTELLATION_SHIFT_FACTOR in v29rx.c 2013-03-23 22:20:56 +08:00
Jeff Lenk 839c4724d7 part 3 and last 2013-03-21 16:48:41 -05:00
Jeff Lenk c6b204ca85 part 2 2013-03-21 16:34:41 -05:00
Jeff Lenk afc73fbe70 windows fix for spandsp make_math_fixed_tables part 1 2013-03-21 16:26:48 -05:00
Michael Jerris 730599ff89 FS-5206: --resolve add .gitignore 2013-03-21 16:54:55 -04:00
David Yat Sin fb9163fe5a Fix for not flushing DTMF buffer at end of call 2013-03-21 10:41:16 -04:00
Steve Underwood ac0defb874 A little more modem polishing 2013-03-21 22:16:51 +08:00
Steve Underwood 8396519956 A few spandsp tweaks 2013-03-21 21:01:54 +08:00
David Yat Sin 20110f4569 Freetdm - ISDN:Fix for race condition where we receive a new call, and did not finish clearing existing call internally. 2013-03-19 14:32:03 -04:00
Travis Cross e9e5f00de7 Enable automatic build support on FreeBSD
Thanks-to: <royj@yandex.ru>
2013-03-17 18:40:37 +00:00
Travis Cross 950a7b7a9a Make sure HAVE_DOXYGEN is defined
Thanks-to: <royj@yandex.ru>
2013-03-17 18:40:28 +00:00
Travis Cross a4b8a73989 Refactor doxygen check code 2013-03-17 18:40:21 +00:00
Jeff Lenk e40ba88fbe fix windows build for last spandsp commit for vs2010-2012 2013-03-16 15:21:38 -05:00
Steve Underwood 6af84a870c Cleanup of modem filters 2013-03-16 15:35:39 +08:00
Steve Underwood efaa3a6d3d Small cleanup of image handling 2013-03-15 23:17:47 +08:00
Anthony Minessale 9d06412382 FS-5172 --resolve 2013-03-14 08:49:49 -05:00
Jeff Lenk 92308bf6e1 windows fix for last spandsp commit - coppice please have a look 2013-03-14 10:04:09 -05:00
Steve Underwood d163c6338e Lots of little cosmetic cleanups 2013-03-14 21:22:51 +08:00
Steve Underwood 93bb5ca5c7 Removal of numerous trailing spaces, to tidy up spandsp in line with the master
version.
2013-03-14 05:04:43 +08:00
Steve Underwood 45eaaf4178 Spandspi's FAX engine now gives separate size and resolution information about
the images on the line and the images in the file. The ties in with the recent
addition of image resizing and flattenign for colur images.
mod_spandsp has been changed to make use of the additional information.
2013-03-10 20:55:21 +08:00
Jeff Lenk 76dc11585d spandsp trivial compiler warning - oops better do this instead 2013-03-09 11:00:07 -06:00
Jeff Lenk a324d46025 required trivial fix for windows for last spandsp commit 2013-03-09 09:18:34 -06:00
Steve Underwood 1d289b3617 Chnaged T.30 x-rex, y-res, width vetting to be more rigorous.
Various little tweaks to spandsp
2013-03-09 22:19:47 +08:00
Moises Silva 5f876497bc freetdm: - Added ftdm_usage command to check if a channel has calls (ie, is busy)
- Refactored ftdm CLI management to allow standalone APIs to be registered
         - Minor logging changes here and there
2013-03-08 15:15:07 -05:00
Brian West e0066b68d7 don't use : in the file name, makes it somewhat problematic to scp these files even when quoted 2013-03-07 09:41:51 -06:00
Anthony Minessale 9b11dbe4b9 FS-4452 --resolve 2013-03-06 12:58:30 -06:00
Travis Cross ce365948f4 Avoid using AM_CONF_IF
Apparently this is a fairly recent feature of automake and is not
present on at least CentOS5.
2013-03-04 17:24:24 +00:00
Travis Cross 9d953e2973 Cleanup whitespace 2013-03-04 17:24:16 +00:00
Travis Cross a3b9a404a9 Correct spelling in comment 2013-03-04 17:24:05 +00:00
Michael Jerris 417ad280e0 remove unused lib 2013-03-04 10:41:18 -05:00
Ken Rice c35a41e4ca FS-3772 --resolve please no vanity comments 2013-03-01 15:48:48 -06:00
Jeff Lenk 57497c833e more vs 2010-2012 xmprpc depends 2013-02-28 11:30:05 -06:00
Jeff Lenk 7ea0f8d41e correct vs 2010-2012 depends for xmlrpc at the project level 2013-02-28 10:53:16 -06:00
Jeff Lenk 16a7014284 add more missing vs2012 project filters 2013-02-27 22:34:16 -06:00
Steve Underwood 560e70f27d Some minor tweaks to T.30 page handling 2013-02-25 22:48:12 +08:00
Anthony Minessale bd25514307 add FS_CLI_COLOR=false env and -n/--no-color command line flag to turn off colored banner 2013-02-20 13:51:53 -06:00
David Yat Sin 187d55c7ea Updating documentation for send-connect-ack 2013-02-19 17:00:03 -05:00
David Yat Sin 79324e1fe9 Changed default setting for 5ESS to send CONNECT ACK to match spec 2013-02-19 16:56:11 -05:00
Anthony Minessale 45d849ab74 FS-5095 --resolve all boils down to uninitialized vars grrr 2013-02-19 13:11:50 -06:00
Jeff Lenk b9d886bfd2 FS-5096 --resolve fix build on Windows after recent ZTRP changes
add missing project filter for 2012
2013-02-12 08:17:40 -06:00
Travis Cross b03636f0cf Always build with ECC support 2013-02-11 16:42:10 +00:00
Philip Zimmermann 18273e5f3b Relicense ECC code under APGLv3 with exception for FreeSWITCH
Thanks to Travis Cross for pushing for this to happen.

Signed-off-by: Philip Zimmermann <prz@mit.edu>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:09 +00:00
Travis Cross 8843819ce5 Add back the elliptic curve (ECC) files
Signed-off-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Philip Zimmermann <prz@mit.edu>
2013-02-11 16:42:08 +00:00
Travis Cross fafd8f337c Optimize -O2 2013-02-11 16:42:08 +00:00
Travis Cross b3cfc73e13 Include debugging symbols 2013-02-11 16:42:07 +00:00
Travis Cross 25ca19218b Target C99 2013-02-11 16:42:07 +00:00
Travis Cross dcf7fff0f4 Set default CFLAGS to catch more issues 2013-02-11 16:42:06 +00:00
Werner Dittmann 85a35d67b1 Prepend to LIBS rather than replacing
Modified-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:06 +00:00
Travis Cross e09a6a3579 Make libzrtp build non-recursive
This eliminates the recursive makefiles for libzrtp (we still
recurse to build bnlib).  Object files, library files, and
executables (including tests) are now produced in the root
directory.
2013-02-11 16:42:05 +00:00
Travis Cross 49346a57f4 Reduce indirection in makefiles 2013-02-11 16:42:04 +00:00
Viktor Krykun 63cd37a2c4 Remove beta label
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:04 +00:00
Viktor Krykun 91c855a2ed Remove outdated credit
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:03 +00:00
Viktor Krykun 02b3b8060a Refactor test cases
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:02 +00:00
Viktor Krykun 521e673b5f Cleanup whitespace
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:02 +00:00
Viktor Krykun 7503d8aafa Fix bug with libzrtp zrtp_signaling_hash_set()
The function would silently not accept the imported zrtp-hash-value
with "buffer too small" in the debug output.

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:01 +00:00
Viktor Krykun f311f81b8d Cleanup whitespace and comments
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:01 +00:00
Viktor Krykun ab4543d94f Improve some autoconf minutia
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:00 +00:00
Viktor Krykun 1b642cae39 Build ZRTP docs with automake
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:00 +00:00