Commit Graph

21970 Commits

Author SHA1 Message Date
Anthony Minessale 00f586ca5a fix endless 5xx race when system is paused or overloaded 2012-08-21 16:19:25 -05:00
Anthony Minessale d0dd441380 FS-4554 --resolve 2012-08-21 12:09:10 -05:00
Anthony Minessale f882f053e6 FS-4490 --resolve 2012-08-21 10:04:37 -05:00
Anthony Minessale 3dcf89e472 add timeout 2012-08-21 09:58:27 -05:00
Steve Underwood fa5569caac A line got deleted somewhere along the line. I didn't do it, honest.
Its them damn gremlins.
2012-08-21 20:09:59 +08:00
Anthony Minessale 17faa239fe ammendment to last commit 2012-08-21 00:39:56 -05:00
Anthony Minessale 142c051d68 cache session threads and reuse them if possible 2012-08-21 00:14:50 -05:00
Anthony Minessale b6f64dc1c2 FS-4079 FS-4540 please update and test 2012-08-21 00:14:50 -05:00
Moises Silva 3155c6c786 mod_sangoma_codec: Remove debug message that is seldom needed anymore and
seems to be causing confusion and annoying users
2012-08-20 18:39:04 -04:00
Michael Jerris 780acf0d33 FS-4264: --resolve make sure directory exists 2012-08-20 16:49:52 -04:00
William King 802af6e5cb git merge failure fixed. wrong side of the merge was kept in previous commit 2012-08-20 10:27:39 -07:00
William King 7f74f7fbc8 On accounting start and end properly error checking on new handle creation. 2012-08-20 10:24:01 -07:00
Anthony Minessale 679921d914 FS-4548 --resolve such a little patch for a big problem, good find 2012-08-20 12:11:17 -05:00
Anthony Minessale e804d95618 add _preconfigured_t38_options as a back door for opal 2012-08-20 12:06:42 -05:00
Travis Cross ebd3f4944c Fix sed pattern on OS X
OS X apparently doesn't support \W.

Thanks-to: Peter Olsson <peter.olsson@visionutveckling.se>

FS-4528 --resolve
2012-08-20 12:59:55 +00:00
Travis Cross 360544ee7f Add sound/music debian packaging instructions
Tell people where to go to get the repository for building the
freeswitch-sounds-* and freeswitch-music-* Debian packages, as well as
what to read when they get there.
2012-08-20 08:18:02 +00:00
William King 863e6f792f After chasing down a few memory leaks that two of which were in the freeradius library, the result is more standardized memory cleanup. 2012-08-18 23:11:54 -07:00
Ken Rice a330febbce bump revision 2012-08-18 10:20:42 -05:00
Anthony Minessale 8c6b8edfea FS-4542 --resolve ok if this causes any problems it should lead us back to this commit 2012-08-17 14:07:20 -05:00
Anthony Minessale b81e780a26 FS-4079 FS-4540 new patch 2012-08-17 13:24:20 -05:00
Jeff Lenk bdb73beb8e FS-4526 --resolve 2012-08-17 19:46:54 -05:00
Jeff Lenk 0807b39c8d FS-4543 --resolve thanks Peter 2012-08-17 19:31:47 -05:00
Steve Underwood e399c69765 Fixed a typo in the fixed point image translate code 2012-08-17 18:36:29 +08:00
Anthony Minessale fabd633727 FS-4525 --resolve 2012-08-16 13:34:14 -05:00
Anthony Minessale f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -05:00
Anthony Minessale 0f71d9cc08 up date 2012-08-16 12:30:26 -05:00
Anthony Minessale d24ed6124c FS-4539 please test this and post new logs if necessary 2012-08-16 12:10:10 -05:00
Anthony Minessale cc351ca004 revert 2012-08-16 12:09:19 -05:00
Anthony Minessale 42bf44de51 FS-4539 please test this and post new logs if necessary 2012-08-16 11:56:55 -05:00
Robert Jongbloed cd21b67c1d Updated mod_opal to latest stable OPAL version.
Enhancements to trace logging, include threads and context ID.

Changed default opal_conf.xml to allow more than just G.711 uLaw and not to clutter log file with debug logs.

Added to opal_conf.xml item for "disable-transcoding".

Updated build/buildopal.sh to use correct ./configure items for PTLib, allow for something other than standard install directory for PTLib/OPAL and be able to easily bind to a specific release of PTLib/OPAL.
2012-08-16 14:23:48 +10:00
Anthony Minessale bb69310259 FS-4079 FS-4540 please update to this version 2012-08-15 22:51:41 -05:00
William King c6d7417aec Adding functionality to mod_xml_radius. Now you can do conditional accounting. And you can pull values from the other leg, specify an alternate variable name in case the variable doesn't exist and you can have default values. 2012-08-15 14:52:13 -07:00
Anthony Minessale 8f22c4acef add debug 2012-08-15 15:20:49 -05:00
Anthony Minessale e5a15cde31 debug lost read lock 2012-08-15 15:11:57 -05:00
Anthony Minessale 6758070903 fix format 2012-08-15 12:15:09 -05:00
Anthony Minessale b3a6bb9c2b improve parsing 2012-08-15 11:19:16 -05:00
Stefan Knoblich 548222f9f3 FreeTDM: Add span start/stop callbacks to ftdm_io_interface.
Callbacks are invoked from ftdm_span_start/_stop().
I/O is started before SIG and shut down in reverse order.

This is needed for ftmod_misdn, to move the mISDN message handling
into a separate thread (solving the mISDN socket vs. FreeTDM API issues).

With these callbacks, the I/O thread can be started after the span I/O configuration
has been (successfully) completed and stopped before destroying the span.

NOTE: Both SIG and I/O callbacks are called with the span mutex locked,
so threads created or destroyed synchronously in either of the custom
start/stop functions, can not use ftdm_span_*() functions that lock
the span mutex (e.g. ftdm_span_get_channel_count()).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-15 13:34:22 +02:00
Stefan Knoblich 431f7dd6bf spandsp: Fix libjpeg checks for --enable-builtin-tiff builds.
The --enable-builtin-tiff option appends libs/tiff-3.8.2/libtiff/libtiff.la
to LIBS, causing the AC_CHECK_LIB([jpeg]...) check to fail, because
libtiff.la does not exist at configure time.

Temporarily store tiff and jpeg libs in TIFF_-/JPEG_LIBS variables and
append them to LIBS after all library checks have run.

Example error output:
    configure:20049: checking for jpeg_start_compress in -ljpeg
    configure:20074: cc -o conftest -O2 -pipe -fno-strict-aliasing    -L/usr/local/lib conftest.c -ljpeg  -lm  /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la >&5
    cc: /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la: No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-15 12:52:28 +02:00
Seven Du 376f137392 Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded 2012-08-15 14:35:42 +08:00
Brian West 90ce980c61 STFU already 2012-08-14 21:10:43 -05:00
Anthony Minessale 0d05762085 FS-4079 revert 4ef9b3fe56 2012-08-14 17:06:02 -05:00
Anthony Minessale ed09914642 add email function to js 2012-08-14 11:10:26 -05:00
Steve Underwood 0b763a6286 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-08-14 22:33:17 +08:00
Steve Underwood e30406cea6 Improvements to image translation 2012-08-14 22:32:30 +08:00
Stefan Knoblich eca5c0ad73 FreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper function and fix more strerror_r() users.
Convert mod_xml_cdr, mod_json_cdr and mod_conference to the new function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:54:06 +02:00
Stefan Knoblich 8bcf3b4fb8 FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
Jeff Lenk 3d9d42b798 FS-4517 --resolve 2012-08-13 21:31:46 -05:00
Jeff Lenk a293512f60 FS-4219 --resolve 2012-08-13 21:30:10 -05:00
William King 26cefbdb87 Fixing issue with which xml pointer used. oops. 2012-08-13 14:45:47 -07:00
Anthony Minessale a073221a6a building stub module 2012-08-13 15:50:52 -05:00