Anthony Minessale
d48e3de7c8
make it so when you put someone on hold and then they attended transfer you, the resulting bridge will still be playing hold music
2012-11-15 21:07:58 -06:00
Anthony Minessale
6644cefb20
finish fixing thread pool logic from yesterday
2012-11-15 17:59:11 -06:00
Anthony Minessale
6f2976298f
FS-4836 ok try this
2012-11-15 13:16:50 -06:00
Anthony Minessale
057861867e
FS-4836 not quite
2012-11-15 13:14:08 -06:00
Anthony Minessale
73f022873b
FS-4836 try this
2012-11-15 12:54:40 -06:00
Anthony Minessale
f8aa3777e9
thread pool was not releasing surplus threads after timeout
2012-11-14 18:43:28 -06:00
Eliot Gable
0160072adc
Fix query cancelling so it leaves the handle in a good state; fix detection of broken connections in db_is_up by consuming the EOF on a failed connection before checking if the connection failed; add more detailed logging about who called the SQL function when something goes wrong.
2012-11-07 21:35:40 +00:00
Anthony Minessale
94763ea52b
FS-4681 --resolve
2012-11-01 13:07:47 -05:00
Anthony Minessale
d1ad4d477c
add no_loopback flag to apps so they can tell mod_loopback to bow out
2012-10-31 12:56:09 -05:00
Anthony Minessale
a4a44fb140
FS-4741 parse timezone variable and adjust time for time based routing
2012-10-31 10:43:59 -05:00
Michael Jerris
1de65cbcd0
handle state update for hangup
2012-10-30 19:02:33 -04:00
Anthony Minessale
4baec06540
add api_on_pre_originate
2012-10-30 11:06:33 -05:00
Jeff Lenk
fe4d736ff9
windows trivial compiler fixes and vs2010 reswig
2012-10-29 22:34:51 -05:00
Anthony Minessale
3812ebb958
let codecs see current frame via the codec obj
2012-10-29 15:07:50 -05:00
Anthony Minessale
bf0056f3b8
FS-4729 try this
2012-10-29 09:47:01 -05:00
Anthony Minessale
759d26db09
FS-4771 --resolve
2012-10-29 09:27:59 -05:00
Anthony Minessale
fe5dbf3b03
FS-4770 --resolve
2012-10-29 09:27:08 -05:00
Anthony Minessale
96550e893e
finish off sql optimization
2012-10-27 12:27:00 -05:00
Anthony Minessale
9d4b72b29a
fold the last round of sql manager changes back into the core and use it for the central db and simplify the algorithm
2012-10-26 20:52:09 -05:00
Anthony Minessale
6b9c2ca8af
fix for new db stuff
2012-10-26 14:17:52 -05:00
Anthony Minessale
1d4e16419e
fix macro
2012-10-25 15:13:31 -05:00
Anthony Minessale
16d41e463c
get rid of little caesars
2012-10-25 15:09:09 -05:00
Anthony Minessale
68e0b7e859
optimize sofia sql by using new core transaction processor we will no longer support databases that do not support transactions
2012-10-25 11:31:47 -05:00
Eliot Gable
ce4fa8acfb
Added switch_atomic_t option for config parsing.
2012-10-23 13:39:31 +00:00
Anthony Minessale
4b6db1329c
FS-4729 try this patch clean
2012-10-22 13:37:41 -04:00
Anthony Minessale
17d1ffe45c
FS-4748 the change to the header file did not make it into the commit
2012-10-22 11:56:22 -04:00
Anthony Minessale
986fede6b0
make a way to get the jitter buffer down to the codecs
2012-10-18 15:29:00 -04:00
Jeff Lenk
6b6c83a718
FS-2746 --resolve large xmlrpc update thanks garmt
2012-10-13 11:37:25 -05:00
Anthony Minessale
b4c621530f
add some convenience for db stuff
2012-10-11 13:47:06 -05:00
Anthony Minessale
4dae523bca
tweak the session level logging to work on the console too
2012-10-11 12:44:31 -05:00
Anthony Minessale
a0049b2296
add a few fields
2012-10-11 11:04:09 -05:00
Anthony Minessale
21d19b6100
add switch_core_session_findall_matching_var func to core to get a list of uuid with a certian var set to a certian val
2012-10-11 09:57:02 -05:00
Jeff Lenk
9bbee350c2
FS-4527 --resolve add resample core support for asr. This code is very isolated and only effects mod_unimrcp at this time.
2012-10-10 14:20:07 -05:00
Anthony Minessale
e1fe289672
refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions
2012-10-09 20:20:32 -05:00
Anthony Minessale
6998695f01
fold recovery db to only use core db and use transactional stmts for recovery stmts
2012-10-08 17:59:47 -05:00
Anthony Minessale
1ad45f7009
revert e08f9ada73
2012-10-08 15:57:51 -05:00
Eliot Gable
e08f9ada73
Abstract the sql_manager and cache_db stuff so that modules can utilize the core functionality to run their own instance of a cached SQL connection. Includes patch to fix some segs in case ODBC does not have password set or if using PGSQL support.
2012-10-08 20:34:09 +00:00
Eliot Gable
5cb354dddc
Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql.
2012-10-08 20:33:57 +00:00
Eliot Gable
0e0c15b4b4
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
2012-10-05 16:11:22 +00:00
Eliot Gable
391e7c365b
Rename switch_hash_first() and switch_hash_next() to switch_core_hash_first() and switch_core_hash_next() and deprecate the older versions.
2012-10-05 16:11:12 +00:00
Anthony Minessale
61033f420b
revert
2012-10-03 14:19:34 -05:00
Anthony Minessale
52eff9451c
wrap fork so we can drop priority in child processes
2012-10-01 13:38:45 -05:00
Anthony Minessale
464155c5cd
more priority tweaks
2012-10-01 10:20:48 -05:00
Robert Jongbloed
cf0f483aab
Assuming, just because it is MSVC, that the standard integers are not defined, is not correct. Need to test for define _STDINT as well as later versions of MSVC (>= VS2010) do have stdint.h
2012-09-27 10:16:14 +10:00
Anthony Minessale
dbf5153fb7
speed improvements: change scheduler to SCHED_FIFO, Disable realtime throttling, use in-memory db for sqlite core channels table (set core-db-name to 'core' in switch.conf.xml for previous behaviour of using the core sqlite file, now only aliases will be in the persistant db)
2012-09-25 16:12:58 -05:00
Anthony Minessale
614ba049b1
add proto
2012-09-24 17:53:23 -05:00
Anthony Minessale
03c981bf72
add smaller banner for teeny tiny terminals
2012-09-24 14:59:09 -05:00
Michael Jerris
4ff9b2f102
revert fb2ffbafe2
2012-09-24 15:38:06 -04:00
Travis Cross
fb2ffbafe2
Add configure flags to moderate the ClueCon nags
...
The default remains the same: we show the huge ClueCon nag banner on
startup and in fs_cli.
However, if you pass --disable-huge-cluecon-nag, no banner will be
shown.
If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon
reminder will be shown instead.
2012-09-23 07:49:26 +00:00
Travis Cross
72baa97369
Condense the humanized FS version string
...
Old:
FreeSWITCH Version 1.3.0+git~20120916T192130Z~3b5aa066c7 (1.3.0; git at commit 3b5aa066c7
on Sun, 16 Sep 2012 19:21:30 Z)
New:
FreeSWITCH Version 1.3.0+git~20120916T192130Z~3b5aa066c7 (git 3b5aa06
2012-09-16 19:21:30Z)
2012-09-23 04:13:04 +00:00
Anthony Minessale
3cf238fc9a
add skip_cdr_causes variable to list call hangup causes that should not trigger cdr processing
2012-09-19 10:49:50 -05:00
Anthony Minessale
c5204c2128
FS-4614 --resolve update to dynamic line buffer and use internal buffering to boot for file I/O on preprocessing XML
2012-09-18 15:39:28 -05:00
Stefan Knoblich
416f026f8c
FreeSWITCH: Add preprocessor constant for default callerid number
...
SWITCH_DEFAULT_CLID_NUMBER and replace all occurrences
in the FreeSWITCH codebase.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-17 21:32:18 +02:00
Jeff Lenk
e22f42334d
FS-4099 --resolve switch windows to use posix delimiter (/) for base paths. This will correct numerous problems with escaped chars. This change only effects windows builds. Please test.
2012-09-16 14:15:49 -05:00
Michael Jerris
d1ddb73c0b
fix build of mod_freetdm
2012-09-14 14:40:16 -04:00
Anthony Minessale
d5e5fb032a
add funcs to binary seralize/deserialize switch_events into a contiguous binary frame
2012-09-13 17:46:28 -05:00
Anthony Minessale
5a956890af
update json lib in core and ESL and re-apply old patches
2012-09-13 12:54:31 -05:00
Anthony Minessale
631c976f59
don't put casue from unanswered pickups as result of originate
2012-09-12 10:22:03 -05:00
Anthony Minessale
c2893801cb
add timestamps for on and off hold times to put in xml cdrs
2012-09-07 18:17:57 -05:00
Anthony Minessale
bfc46567c1
add uuid_media_reneg api command to tell a channel to send a re-invite with optional list of new codecs
2012-09-07 15:33:09 -05:00
Raymond Chandler
6ed3218f8a
FS-4558: add uuid
2012-08-31 16:35:13 -04:00
Anthony Minessale
35f0e2ff3a
add uuid_early_ok
2012-08-30 16:51:06 -05:00
Anthony Minessale
ada8b78393
FS-4573 --resolve
2012-08-29 11:46:36 -05:00
Anthony Minessale
3c685bff25
fix double sessions on auth challenged calls
2012-08-29 10:38:37 -05:00
Anthony Minessale
66677c940a
move recovery engine up into the core
2012-08-22 16:27:07 -05:00
Anthony Minessale
33e642e98c
remove unused resurrect code
2012-08-22 16:27:07 -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
142c051d68
cache session threads and reuse them if possible
2012-08-21 00:14:50 -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
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
Anthony Minessale
bb69310259
FS-4079 FS-4540 please update to this version
2012-08-15 22:51:41 -05:00
Anthony Minessale
e5a15cde31
debug lost read lock
2012-08-15 15:11:57 -05: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
Anthony Minessale
75abcd2099
fix build
2012-08-09 16:27:15 -05:00
Michael Jerris
f044f46250
add apr stub to get the real OS socket
2012-08-09 11:56:29 -05:00
Anthony Minessale
293429f78d
add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion
2012-07-27 18:53:04 -05:00
Anthony Minessale
d832b5dfef
FS-4453 --resolve this will now cause up to a 20 second timeout waiting for the response and the call will be blocking
2012-07-24 13:45:10 -05:00
Travis Cross
a8019d803c
Make version output more human-friendly
...
Our main version string is designed for release engineering purposes:
it matches file name conventions used for versioned tarballs and the
versions sort lexicographically while containing all pertinent
information.
With this commit we add in parentheses a more human-friendly rendering
of the version string: we spell out the meaning of each field and
render the datetime in RFC 822 notation.
2012-07-20 07:43:26 +00:00
Seven Du
14cb9af607
add switch_core_file_write_video
...
open a door to write video data
so it is possible to record a .fsv file
also possible to write to .mp4 with proper file format support
2012-07-20 11:38:20 +08:00
Anthony Minessale
f4715781dc
FS-4382 reverse this so you have to enable instead of disable, this patch has been causing srtp issues because the change in ssrc
2012-07-18 22:01:41 -05:00
Anthony Minessale
46fee25dad
add fsctl sql start/stop for standby controls
2012-07-12 14:30:44 -05:00
Anthony Minessale
088437cab1
add some rtcp stuff for sangoma
2012-07-11 15:23:12 -05:00
Anthony Minessale
2aebe2456f
first pass on some new stuff
2012-07-11 15:15:50 -05:00
Anthony Minessale
16cb32cd5c
come to cluecon will ya
2012-07-06 17:54:21 -05:00
Anthony Minessale
9ca929218f
FS-4382 --resolve
2012-07-06 11:12:14 -05:00
Anthony Minessale
bf20f52452
add execute_on_post_originate and api_on_post_originate to run on chosen newly originated channels vs execute_on_originate which runs on all candidates
2012-07-05 12:34:09 -05:00
Anthony Minessale
b1ae97466d
add enable-use-system-time param to switch.conf.xml use at your own risk, someone with windows could verify it works ok
2012-07-03 17:15:14 -05:00
Anthony Minessale
c5ba5acbd5
move stacksize thing into the core deeper to avoid build issues
2012-07-03 11:35:41 -05:00
Anthony Minessale
f3a49366a1
FS-4331 please test and post a new log if necessary
2012-07-03 08:05:41 -05:00
Anthony Minessale
7ec8fb43d4
add initial-event-threads to switch.conf.xml
2012-06-29 11:39:49 -05:00
Anthony Minessale
8b4c9dc42c
FS-3659 and some refactor for rtcp ice and video ice and rtcp
2012-06-22 18:15:06 -05:00
Anthony Minessale
c30940462a
update stun to more modern spec
2012-06-22 18:15:06 -05:00
dschreiber
6069adece5
Revert "add thread safe hash multi delete function and make callback optional"
...
I don't see this command being used anywhere. Since I don't like to touch core files unless absolutely necessary I'm reverting these two changes. I've emailed the author, Tamas, for an explanation. The other patches for FS-3432 (merged in now) appear to work fine without this commit.
This reverts commit fbcb862265
.
2012-06-19 08:51:28 -07:00
dschreiber
7e6018985c
Merge remote branch 'origin/master' into FS-3432
2012-06-19 08:10:54 -07:00
Anthony Minessale
830755ac85
allow event consumer to supply size as optional arg
2012-06-14 11:31:46 -05:00
Travis Cross
c1b2472781
SWITCH_VERSION_REVISION includes the dash or dot itself
2012-06-01 22:22:44 +00:00
Anthony Minessale
192030c578
add metadata col to internal registrations table
2012-05-30 13:05:05 -05:00
Anthony Minessale
8bb55ed4bf
abstract out originate_signal_bond to a function to avoid confustion and regressions
2012-05-29 13:10:15 -05:00