Commit Graph

21990 Commits

Author SHA1 Message Date
Stefan Knoblich a436a3e962 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>
2012-08-24 00:51:36 +02:00
Anthony Minessale f34085965c fix some issues in httapi record parser 2012-08-23 17:49:53 -05:00
Stefan Knoblich a4216351c0 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>
2012-08-24 00:36:34 +02:00
Anthony Minessale 4efff5c463 fix small bug, init this value to success so you can record without playing a file first 2012-08-23 16:29:30 -05:00
Stefan Knoblich 716f4c0675 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>
2012-08-23 22:26:49 +02:00
Anthony Minessale 04924f1694 FS-4079 FS-4540 regression from 5213c764bb please update ASAP if you are running this one 2012-08-23 14:56:37 -05:00
Anthony Minessale 29a3d7ab02 copy channel data into RECV_INFO event 2012-08-23 13:07:08 -05:00
Anthony Minessale cfa02f0e32 FS-4561 please update to this version and retest with new logs if necessary 2012-08-23 13:02:08 -05:00
Anthony Minessale 5213c764bb FS-4079 FS-4540 minor refactoring to fix some minor side effects of recent changes 2012-08-23 11:10:03 -05:00
Jeff Lenk 3d34215919 vs2010 reswig 2012-08-22 18:08:55 -05:00
Anthony Minessale d38b905606 remove debug 2012-08-22 17:49:42 -05:00
Anthony Minessale b3140af073 cleanup 2012-08-22 17:05:25 -05:00
Anthony Minessale 2a8841ab66 change mod_sofia to use new core based recovery engine 2012-08-22 16:27:07 -05:00
Anthony Minessale 66677c940a move recovery engine up into the core 2012-08-22 16:27:07 -05:00
Anthony Minessale 8aaca1cef3 make sure recovering calls start with re-invite instead of invite handler 2012-08-22 16:27:07 -05:00
Anthony Minessale 33e642e98c remove unused resurrect code 2012-08-22 16:27:07 -05:00
Anthony Minessale a6bdbb2c09 FS-4559 --resolve 2012-08-22 16:03:47 -05:00
Anthony Minessale e008af0e50 refactor some unneeded code and move artoo code into the core 2012-08-22 10:08:20 -05:00
Anthony Minessale ebc2e8d01b update to session thread cache 2012-08-22 09:52:20 -05:00
Steve Underwood ea58df8456 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.
2012-08-22 22:25:54 +08:00
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