Commit Graph

650 Commits

Author SHA1 Message Date
Anthony Minessale bfae89267e revert 2012-11-20 10:13:05 -06:00
Jeff Lenk 93b5f7fdfd FS-4099 FS-4847 2012-11-19 23:32:41 -06:00
Anthony Minessale 759d26db09 FS-4771 --resolve 2012-10-29 09:27:59 -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 c670ed6df5 fix type in config 2012-10-25 11:31:47 -05:00
Anthony Minessale 1a43405bed up max db buffer size in core sql 2012-10-23 20:38:03 -04: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
Anthony Minessale 3d57cbda98 pull this code echo -1 > /proc/sys/kernel/sched_rt_runtime_us yourself if you want to enable this 2012-10-04 08:29:26 -05:00
Anthony Minessale 6d01ad5e38 some more priority tweaks 2012-10-03 14:10:22 -05:00
Anthony Minessale bc06155740 more priority tweaks 2012-10-02 07:39:21 -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
Anthony Minessale 8733a2c895 some priority queuing tweaks for performance 2012-10-01 11:47:26 -05:00
Stefan Knoblich 8075b01569 Fix error in switch_core_screen_size() and screen_size() fallback code.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-26 17:21:05 +02: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
Jeff Lenk 176d60beb3 FS-4645 does this help 2012-09-25 08:55:44 -05:00
Jeff Lenk f997cc25d1 remove trailing backlash from windows temp paths - mostly cosmetic 2012-09-24 22:36:15 -05:00
Anthony Minessale b989775085 followup for cent5 2012-09-24 17:07:55 -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 447a2c6279 Improve startup cosmetics 2012-09-23 07:49:29 +00: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 c6e7549055 FS-4634 --resolve 2012-09-20 09:48:47 -05:00
Anthony Minessale d80e91d248 doh 2012-09-18 16:00:19 -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
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
Anthony Minessale ada8b78393 FS-4573 --resolve 2012-08-29 11:46:36 -05:00
Anthony Minessale 66677c940a move recovery engine up into the core 2012-08-22 16:27:07 -05:00
Anthony Minessale 142c051d68 cache session threads and reuse them if possible 2012-08-21 00:14:50 -05:00
Jeff Lenk 0807b39c8d FS-4543 --resolve thanks Peter 2012-08-17 19:31:47 -05:00
Anthony Minessale f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -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 1d5b5f218a add core_uuid global variable to expose the runtime uuid 2012-07-26 11:38:02 -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
Anthony Minessale 46fee25dad add fsctl sql start/stop for standby controls 2012-07-12 14:30:44 -05:00
Stefan Knoblich 95c20425a8 FreeSWITCH: Use SWITCH_TIME_T_FMT to fix format string error in send_heartbeat().
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:25:12 +02:00
Daniel Swarbrick a8efae998f Add FreeSWITCH-Version string and Uptime-msec (uptime in *milliseconds*) to heartbeat events 2012-07-12 01:34:36 +02:00
Anthony Minessale 16cb32cd5c come to cluecon will ya 2012-07-06 17:54:21 -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 7ec8fb43d4 add initial-event-threads to switch.conf.xml 2012-06-29 11:39:49 -05:00
Daniel Swarbrick 2b48cf8778 Resolve unused-but-set-variable introduced by c608ca3 and remove a line of redundant code. 2012-06-14 12:16:08 +02:00
Anthony Minessale c608ca35d8 don't print ASS 2012-06-13 11:29:14 -05:00
Anthony Minessale 2a257a56a2 default to forking system on non-windows 2012-05-24 13:06:32 -05:00
Anthony Minessale b117a65c50 put a little contention in the reg in new thread feature to prevent endless pileup 2012-05-17 19:57:02 -05:00