]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
13 years agoTweaks
Steve Underwood [Sun, 26 Aug 2012 14:53:24 +0000 (22:53 +0800)] 
Tweaks

13 years agoTweaks
Steve Underwood [Sun, 26 Aug 2012 14:18:26 +0000 (22:18 +0800)] 
Tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 14:07:01 +0000 (22:07 +0800)] 
More tweaks

13 years agoTweaks
Steve Underwood [Sun, 26 Aug 2012 12:58:54 +0000 (20:58 +0800)] 
Tweaks

13 years agoTweaks
Steve Underwood [Sun, 26 Aug 2012 12:45:49 +0000 (20:45 +0800)] 
Tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 12:39:33 +0000 (20:39 +0800)] 
More tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 12:28:48 +0000 (20:28 +0800)] 
More tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 12:24:20 +0000 (20:24 +0800)] 
More tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 12:11:39 +0000 (20:11 +0800)] 
More tweaks

13 years agoMore tweaks
Steve Underwood [Sun, 26 Aug 2012 11:37:14 +0000 (19:37 +0800)] 
More tweaks

13 years agoMore fax modem tweaks
Steve Underwood [Sun, 26 Aug 2012 11:30:42 +0000 (19:30 +0800)] 
More fax modem tweaks

13 years agoTweaks
Steve Underwood [Sun, 26 Aug 2012 10:12:44 +0000 (18:12 +0800)] 
Tweaks

13 years agoVarious fax_modems.c related improvements
Steve Underwood [Sun, 26 Aug 2012 07:43:15 +0000 (15:43 +0800)] 
Various fax_modems.c related improvements

13 years agoFS-4561 send notify with terminate state when we get a SUBSCRIBE with expires 0
Anthony Minessale [Fri, 24 Aug 2012 22:53:47 +0000 (17:53 -0500)] 
FS-4561 send notify with terminate state when we get a SUBSCRIBE with expires 0

13 years agoFreeTDM: Remove oz{rename,replace}.sh scripts.
Stefan Knoblich [Fri, 24 Aug 2012 18:45:48 +0000 (20:45 +0200)] 
FreeTDM: Remove oz{rename,replace}.sh scripts.

Remnants from the olden days of the big OpenZAP migration.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agoFS-4525 --resolve ok there was 2 parts to this and I missed one, your client actually...
Anthony Minessale [Fri, 24 Aug 2012 18:15:57 +0000 (13:15 -0500)] 
FS-4525 --resolve ok there was 2 parts to this and I missed one, your client actually uses different to and from in the subscribe where the majority use the target name in the request, to and from, this should make it compat

13 years agoFS-3003: --resolve Add lang config files for es-ES,es-MX,pt-BR,pt-PT (Thanks Francois...
Michael S Collins [Fri, 24 Aug 2012 16:42:52 +0000 (09:42 -0700)] 
FS-3003: --resolve Add lang config files for es-ES,es-MX,pt-BR,pt-PT (Thanks Francois Delawarde)

13 years agoftmod_misdn: Use a per-span I/O thread to handle B-channel data.
Stefan Knoblich [Fri, 24 Aug 2012 14:35:55 +0000 (16:35 +0200)] 
ftmod_misdn: Use a per-span I/O thread to handle B-channel data.

Move the B-channel message handling into a per-span I/O thread,
to solve most of the problems caused by the intermixed data + control
socket interface of mISDN, missing write poll() support on
mISDN B-channels and the FreeTDM I/O model. This eliminates most of
the audio problems (except for a few minor glitches).

A unix stream socket pair is used as a bi-directional pipe replacement
(the pipe code is still included in this commit, but will be removed later),
with the RX and TX buffer sizes carefully tuned to avoid excessive buffering
(= latency) and a deadlock situation between the write() call in ftdm_write()
and the code in misdn_span_run() that needs a minimum amount of data in the
TX buffer, before sending out a PH_DATA_REQ to the mISDN socket
(see misdn_span_run() comments for more details).

The minimum size for pipes is PAGE_SIZE (4k), which is ~500 ms worth of
audio. A socket pair RX/TX buffer size of 3k, seems to hold a maximum
amount of around 500 bytes data in practice, giving us a much lower
maximum latency than a unix pipe. (The socket pair might be replaced by a
custom ring buffer / fifo data structure to get even more fine grained
control of the maximum latency.)

The newly introduced span_start / span_stop callbacks in
ftdm_io_interface_t are used to start / stop the I/O thread. The callback
functions will wait up to 10 seconds for the thread to successfully
start up or shut down (using a mutex + condition var).

NOTE: Using any of the locking ftdm_span_() functions in the I/O will cause
      a deadlock between the I/O thread (trying to lock span->mutex) and the
      thread calling ftdm_start()/_stop() (holding the span->mutex).
      (The I/O thread currently uses direct span member access to avoid this.)

The I/O thread uses the epoll(7) family of functions for event handling.
An epoll context is created on startup and all B-channel sockets are
registered (READ, PRI and ERR). Before entering the event loop,
the I/O thread will send a signal on the condition variable, to
indicate it has completed the startup procedure.

Incoming b-channel and command pipe events are handled by the event loop.
Payload of incoming PH_DATA_IND frames (= audio data) is sent to the
rx_audio_pipe_in end of the b-channel's socket pair and, if enough data is
available, a PH_DATA_REQ of the same size is sent to the b-channel mISDN socket
to transmit audio.

A MISDN_CMD_STOP command on the event pipe will wake up the I/O thread and
cause it to shut down. All b-channels will be unregistered from the epoll context
and the epoll fd closed. The I/O thread terminates itself after signalling the
successfull shutdown on the condition variable.

TODOs:
    - Move D-Channel into I/O thread too

    - Custom FIFO/ring buffer for data (even lower latency)

    - Improve epoll() code (per-channel struct w/ callback, for epfd.data.ptr)

    - Use mISDN DSP for audio (e.g. tone generator, dtmf detector, echo cancel)

    - Use a per-port / span control socket to execute channel commands
      synchronously, or add misdn_commands (queue?) that can be used that way

    - Name I/O threads 'mISDN-%SPAN_NAME%', e.g. 'mISDN-M_BRI1'
      (= add ftdm_thread_set_namef(thread, fmt, ...) / ftdm_thread_set_name(thread, name))

TL;DR: "tweak", solves "booboo" with audio

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agoFS-4219 --resolve
Jeff Lenk [Fri, 24 Aug 2012 13:24:18 +0000 (08:24 -0500)] 
FS-4219 --resolve

13 years agorevert
Anthony Minessale [Thu, 23 Aug 2012 22:52:26 +0000 (17:52 -0500)] 
revert

13 years agoFreeSWITCH: Fix format string error in witch_core_session_thread_pool_worker().
Stefan Knoblich [Thu, 23 Aug 2012 22:50:19 +0000 (00:50 +0200)] 
FreeSWITCH: Fix format string error in witch_core_session_thread_pool_worker().

Fixes:
    cc1: warnings being treated as errors
    src/switch_core_session.c: In function 'switch_core_session_thread_pool_worker':
    src/switch_core_session.c:1478: warning: format '%ld' expects type 'long int', but argument 9 has type 'switch_size_t'
    src/switch_core_session.c:1483: warning: format '%ld' expects type 'long int', but argument 9 has type 'switch_size_t'
    gmake[2]: *** [libfreeswitch_la-switch_core_session.lo] Error 1

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agofix some issues in httapi record parser
Anthony Minessale [Thu, 23 Aug 2012 22:49:46 +0000 (17:49 -0500)] 
fix some issues in httapi record parser

13 years agoftmod_libpri: Implement channel hunting in NT-mode.
Stefan Knoblich [Thu, 23 Aug 2012 22:15:35 +0000 (00:15 +0200)] 
ftmod_libpri: Implement channel hunting in NT-mode.

Hunt for a free channel for incoming calls that do not
preselect a channel (pevent->ring.channel == -1).

Verify the preselected channel for calls that do specify a channel
and in case the channel is already taken, hunt for a free one,
or abort with an error message (if the preselection was exclusive).

TE-mode channel selection is the same as before
(there's still room for improvement, though, but i'll save that for later).

The MSN/DDI filter code is moved into the TE-mode section (only useful there).

The duplicate ring detection had to be reworked. We now store the
call reference (CRV) in caller_data->call_reference of the selected channel
and do a CRV -> channel look up with find_channel_by_cref()
at the top of on_ring().

NOTE: This is only lightly tested (NT/TE mode), i'd either have to
      write a lot of custom code to check it toroughly or the need for
      a scriptable ISDN stack...

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agofix small bug, init this value to success so you can record without playing a file...
Anthony Minessale [Thu, 23 Aug 2012 21:29:24 +0000 (16:29 -0500)] 
fix small bug, init this value to success so you can record without playing a file first

13 years agoftmod_libpri: Check for '#' key to leave overlap receiving state.
Stefan Knoblich [Thu, 23 Aug 2012 20:26:49 +0000 (22:26 +0200)] 
ftmod_libpri: Check for '#' key to leave overlap receiving state.

Same as ftmod_isdn, '#' key ends overlap receive and moves the incoming
call to RING state.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agoFS-4079 FS-4540 regression from 5213c764bbaf779a0b4c4f9feb35f13b5097c6c4 please updat...
Anthony Minessale [Thu, 23 Aug 2012 19:56:37 +0000 (14:56 -0500)] 
FS-4079 FS-4540 regression from 5213c764bbaf779a0b4c4f9feb35f13b5097c6c4 please update ASAP if you are running this one

13 years agocopy channel data into RECV_INFO event
Anthony Minessale [Thu, 23 Aug 2012 18:07:08 +0000 (13:07 -0500)] 
copy channel data into RECV_INFO event

13 years agoFS-4561 please update to this version and retest with new logs if necessary
Anthony Minessale [Thu, 23 Aug 2012 18:02:08 +0000 (13:02 -0500)] 
FS-4561 please update to this version and retest with new logs if necessary

13 years agoFS-4079 FS-4540 minor refactoring to fix some minor side effects of recent changes
Anthony Minessale [Thu, 23 Aug 2012 16:10:03 +0000 (11:10 -0500)] 
FS-4079 FS-4540 minor refactoring to fix some minor side effects of recent changes

13 years agovs2010 reswig
Jeff Lenk [Wed, 22 Aug 2012 23:08:55 +0000 (18:08 -0500)] 
vs2010 reswig

13 years agoremove debug
Anthony Minessale [Wed, 22 Aug 2012 22:49:42 +0000 (17:49 -0500)] 
remove debug

13 years agocleanup
Anthony Minessale [Wed, 22 Aug 2012 22:05:25 +0000 (17:05 -0500)] 
cleanup

13 years agochange mod_sofia to use new core based recovery engine
Anthony Minessale [Wed, 22 Aug 2012 21:27:02 +0000 (16:27 -0500)] 
change mod_sofia to use new core based recovery engine

13 years agomove recovery engine up into the core
Anthony Minessale [Wed, 22 Aug 2012 21:24:09 +0000 (16:24 -0500)] 
move recovery engine up into the core

13 years agomake sure recovering calls start with re-invite instead of invite handler
Anthony Minessale [Wed, 22 Aug 2012 20:51:35 +0000 (15:51 -0500)] 
make sure recovering calls start with re-invite instead of invite handler

13 years agoremove unused resurrect code
Anthony Minessale [Wed, 22 Aug 2012 19:27:27 +0000 (14:27 -0500)] 
remove unused resurrect code

13 years agoFS-4559 --resolve
Anthony Minessale [Wed, 22 Aug 2012 21:03:47 +0000 (16:03 -0500)] 
FS-4559 --resolve

13 years agorefactor some unneeded code and move artoo code into the core
Anthony Minessale [Wed, 22 Aug 2012 15:08:20 +0000 (10:08 -0500)] 
refactor some unneeded code and move artoo code into the core

13 years agoupdate to session thread cache
Anthony Minessale [Wed, 22 Aug 2012 00:47:05 +0000 (19:47 -0500)] 
update to session thread cache

13 years agoFixed Cairo's entry in the timezone files
Steve Underwood [Wed, 22 Aug 2012 14:25:54 +0000 (22:25 +0800)] 
Fixed Cairo's entry in the timezone files
Changed mod_spandsp so it tries to resolve timezone names like Asia/HongKong
to a POSIX timezone descriptor string, like other parts of FreeSwitch do.

13 years agofix endless 5xx race when system is paused or overloaded
Anthony Minessale [Tue, 21 Aug 2012 21:19:25 +0000 (16:19 -0500)] 
fix endless 5xx race when system is paused or overloaded

13 years agoFS-4554 --resolve
Anthony Minessale [Tue, 21 Aug 2012 17:09:10 +0000 (12:09 -0500)] 
FS-4554 --resolve

13 years agoFS-4490 --resolve
Anthony Minessale [Tue, 21 Aug 2012 15:04:37 +0000 (10:04 -0500)] 
FS-4490 --resolve

13 years agoadd timeout
Anthony Minessale [Tue, 21 Aug 2012 14:58:23 +0000 (09:58 -0500)] 
add timeout

13 years agoA line got deleted somewhere along the line. I didn't do it, honest.
Steve Underwood [Tue, 21 Aug 2012 12:09:59 +0000 (20:09 +0800)] 
A line got deleted somewhere along the line. I didn't do it, honest.
Its them damn gremlins.

13 years agoammendment to last commit
Anthony Minessale [Tue, 21 Aug 2012 05:39:56 +0000 (00:39 -0500)] 
ammendment to last commit

13 years agocache session threads and reuse them if possible
Anthony Minessale [Tue, 21 Aug 2012 05:14:43 +0000 (00:14 -0500)] 
cache session threads and reuse them if possible

13 years agoFS-4079 FS-4540 please update and test
Anthony Minessale [Tue, 21 Aug 2012 05:04:58 +0000 (00:04 -0500)] 
FS-4079 FS-4540 please update and test

13 years agomod_sangoma_codec: Remove debug message that is seldom needed anymore and
Moises Silva [Mon, 20 Aug 2012 22:39:04 +0000 (18:39 -0400)] 
mod_sangoma_codec: Remove debug message that is seldom needed anymore and
                   seems to be causing confusion and annoying users

13 years agoFS-4264: --resolve make sure directory exists
Michael Jerris [Mon, 20 Aug 2012 20:49:52 +0000 (16:49 -0400)] 
FS-4264: --resolve make sure directory exists

13 years agogit merge failure fixed. wrong side of the merge was kept in previous commit
William King [Mon, 20 Aug 2012 17:27:39 +0000 (10:27 -0700)] 
git merge failure fixed. wrong side of the merge was kept in previous commit

13 years agoOn accounting start and end properly error checking on new handle creation.
William King [Mon, 20 Aug 2012 17:23:54 +0000 (10:23 -0700)] 
On accounting start and end properly error checking on new handle creation.

13 years agoFS-4548 --resolve such a little patch for a big problem, good find
Anthony Minessale [Mon, 20 Aug 2012 17:11:17 +0000 (12:11 -0500)] 
FS-4548 --resolve such a little patch for a big problem, good find

13 years agoadd _preconfigured_t38_options as a back door for opal
Anthony Minessale [Mon, 20 Aug 2012 17:06:36 +0000 (12:06 -0500)] 
add _preconfigured_t38_options as a back door for opal

13 years agoFix sed pattern on OS X
Travis Cross [Mon, 20 Aug 2012 12:59:44 +0000 (12:59 +0000)] 
Fix sed pattern on OS X

OS X apparently doesn't support \W.

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

13 years agoAdd sound/music debian packaging instructions
Travis Cross [Mon, 20 Aug 2012 08:18:02 +0000 (08:18 +0000)] 
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.

13 years agoAfter chasing down a few memory leaks that two of which were in the freeradius librar...
William King [Sun, 19 Aug 2012 06:11:54 +0000 (23:11 -0700)] 
After chasing down a few memory leaks that two of which were in the freeradius library, the result is more standardized memory cleanup.

13 years agobump revision
Ken Rice [Sat, 18 Aug 2012 15:20:42 +0000 (10:20 -0500)] 
bump revision

13 years agoFS-4542 --resolve ok if this causes any problems it should lead us back to this commit
Anthony Minessale [Fri, 17 Aug 2012 19:07:20 +0000 (14:07 -0500)] 
FS-4542 --resolve ok if this causes any problems it should lead us back to this commit

13 years agoFS-4079 FS-4540 new patch
Anthony Minessale [Fri, 17 Aug 2012 18:24:20 +0000 (13:24 -0500)] 
FS-4079 FS-4540 new patch

13 years agoFS-4526 --resolve
Jeff Lenk [Sat, 18 Aug 2012 00:46:54 +0000 (19:46 -0500)] 
FS-4526 --resolve

13 years agoFS-4543 --resolve thanks Peter
Jeff Lenk [Sat, 18 Aug 2012 00:31:47 +0000 (19:31 -0500)] 
FS-4543 --resolve thanks Peter

13 years agoFixed a typo in the fixed point image translate code
Steve Underwood [Fri, 17 Aug 2012 10:36:29 +0000 (18:36 +0800)] 
Fixed a typo in the fixed point image translate code

13 years agoFS-4525 --resolve
Anthony Minessale [Thu, 16 Aug 2012 18:34:14 +0000 (13:34 -0500)] 
FS-4525 --resolve

13 years agofix color coding to be OS appropriate
Anthony Minessale [Thu, 16 Aug 2012 18:04:33 +0000 (13:04 -0500)] 
fix color coding to be OS appropriate

13 years agoup date
Anthony Minessale [Thu, 16 Aug 2012 17:30:22 +0000 (12:30 -0500)] 
up date

13 years agoFS-4539 please test this and post new logs if necessary
Anthony Minessale [Thu, 16 Aug 2012 17:10:10 +0000 (12:10 -0500)] 
FS-4539 please test this and post new logs if necessary

13 years agorevert
Anthony Minessale [Thu, 16 Aug 2012 17:09:19 +0000 (12:09 -0500)] 
revert

13 years agoFS-4539 please test this and post new logs if necessary
Anthony Minessale [Thu, 16 Aug 2012 16:56:55 +0000 (11:56 -0500)] 
FS-4539 please test this and post new logs if necessary

13 years agoUpdated mod_opal to latest stable OPAL version.
Robert Jongbloed [Mon, 2 Jul 2012 03:38:31 +0000 (13:38 +1000)] 
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.

13 years agoFS-4079 FS-4540 please update to this version
Anthony Minessale [Thu, 16 Aug 2012 03:51:31 +0000 (22:51 -0500)] 
FS-4079 FS-4540 please update to this version

13 years agoAdding functionality to mod_xml_radius. Now you can do conditional accounting. And...
William King [Wed, 15 Aug 2012 21:52:02 +0000 (14:52 -0700)] 
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.

13 years agoadd debug
Anthony Minessale [Wed, 15 Aug 2012 20:20:49 +0000 (15:20 -0500)] 
add debug

13 years agodebug lost read lock
Anthony Minessale [Wed, 15 Aug 2012 20:11:57 +0000 (15:11 -0500)] 
debug lost read lock

13 years agofix format
Anthony Minessale [Wed, 15 Aug 2012 17:15:09 +0000 (12:15 -0500)] 
fix format

13 years agoimprove parsing
Anthony Minessale [Wed, 15 Aug 2012 16:19:11 +0000 (11:19 -0500)] 
improve parsing

13 years agoFreeTDM: Add span start/stop callbacks to ftdm_io_interface.
Stefan Knoblich [Wed, 15 Aug 2012 11:19:38 +0000 (13:19 +0200)] 
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>
13 years agospandsp: Fix libjpeg checks for --enable-builtin-tiff builds.
Stefan Knoblich [Wed, 15 Aug 2012 10:52:28 +0000 (12:52 +0200)] 
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>
13 years agoFix rtp payload number and possibly other params, since we ALWAYS use PCMU all params...
Seven Du [Wed, 15 Aug 2012 06:34:16 +0000 (14:34 +0800)] 
Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded

13 years agoSTFU already
Brian West [Wed, 15 Aug 2012 02:10:43 +0000 (21:10 -0500)] 
STFU already

13 years agoFS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7
Anthony Minessale [Tue, 14 Aug 2012 22:06:02 +0000 (17:06 -0500)] 
FS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7

13 years agoadd email function to js
Anthony Minessale [Tue, 14 Aug 2012 16:10:21 +0000 (11:10 -0500)] 
add email function to js

13 years agoMerge branch 'master' of git.freeswitch.org:freeswitch
Steve Underwood [Tue, 14 Aug 2012 14:33:17 +0000 (22:33 +0800)] 
Merge branch 'master' of git.freeswitch.org:freeswitch

13 years agoImprovements to image translation
Steve Underwood [Tue, 14 Aug 2012 14:32:30 +0000 (22:32 +0800)] 
Improvements to image translation

13 years agoFreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper funct...
Stefan Knoblich [Tue, 14 Aug 2012 12:54:06 +0000 (14:54 +0200)] 
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>
13 years agoFreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of...
Stefan Knoblich [Tue, 14 Aug 2012 12:11:44 +0000 (14:11 +0200)] 
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>
13 years agoFS-4517 --resolve
Jeff Lenk [Tue, 14 Aug 2012 02:31:46 +0000 (21:31 -0500)] 
FS-4517 --resolve

13 years agoFS-4219 --resolve
Jeff Lenk [Tue, 14 Aug 2012 02:30:10 +0000 (21:30 -0500)] 
FS-4219 --resolve

13 years agoFixing issue with which xml pointer used. oops.
William King [Mon, 13 Aug 2012 21:45:37 +0000 (14:45 -0700)] 
Fixing issue with which xml pointer used. oops.

13 years agobuilding stub module
Anthony Minessale [Mon, 13 Aug 2012 20:50:52 +0000 (15:50 -0500)] 
building stub module

13 years agostub for mod_html5
Anthony Minessale [Mon, 13 Aug 2012 20:20:41 +0000 (15:20 -0500)] 
stub for mod_html5

13 years agolibwebsocket inline configure
Anthony Minessale [Mon, 13 Aug 2012 19:29:04 +0000 (14:29 -0500)] 
libwebsocket inline configure

13 years agofix libwebsocket build
Anthony Minessale [Mon, 13 Aug 2012 19:15:06 +0000 (14:15 -0500)] 
fix libwebsocket build

13 years agoFS-4079 new patch, please test
Anthony Minessale [Mon, 13 Aug 2012 18:48:06 +0000 (13:48 -0500)] 
FS-4079 new patch, please test

13 years agoAdd condition matching capability to only account for one or more subset of channel...
William King [Mon, 13 Aug 2012 04:13:01 +0000 (21:13 -0700)] 
Add condition matching capability to only account for one or more subset of channel directions to radius.

13 years agoMerge branch 'master' of git.freeswitch.org:freeswitch
Steve Underwood [Sun, 12 Aug 2012 14:12:06 +0000 (22:12 +0800)] 
Merge branch 'master' of git.freeswitch.org:freeswitch

13 years agoImprovements to T.4 end of image handling, and the related tests.
Steve Underwood [Sun, 12 Aug 2012 14:11:06 +0000 (22:11 +0800)] 
Improvements to T.4 end of image handling, and the related tests.
A lot of tiny tidy up edits

13 years agoadd chatExecute method to events so you can respond from chatplan in js
Anthony Minessale [Sat, 11 Aug 2012 23:34:42 +0000 (18:34 -0500)] 
add chatExecute method to events so you can respond from chatplan in js

13 years agoFix typo on rtp.c causing compiler error (FS-4511)
Moises Silva [Sat, 11 Aug 2012 20:19:11 +0000 (16:19 -0400)] 
Fix typo on rtp.c causing compiler error (FS-4511)

13 years agoVarious little tweaks
Steve Underwood [Sat, 11 Aug 2012 10:32:00 +0000 (18:32 +0800)] 
Various little tweaks
A bug in end of image handling fixed, which could mean some T.85 images would
screw up.