From 05214931fb3fcc09777ce358d29dd28a77980e62 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Fri, 21 Feb 2014 15:25:43 +0000 Subject: [PATCH] Add man page for freeswitch This man page is written in ronn format (package ruby-ronn on Debian) which is a subset of markdown that can be converted to nroff man pages, HTML, and other formats. --- docs/man/.gitignore | 2 + docs/man/freeswitch.1.ronn | 155 +++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+) create mode 100644 docs/man/.gitignore create mode 100644 docs/man/freeswitch.1.ronn diff --git a/docs/man/.gitignore b/docs/man/.gitignore new file mode 100644 index 0000000000..79a0cd25ae --- /dev/null +++ b/docs/man/.gitignore @@ -0,0 +1,2 @@ +*.1 +*.html diff --git a/docs/man/freeswitch.1.ronn b/docs/man/freeswitch.1.ronn new file mode 100644 index 0000000000..8022c93414 --- /dev/null +++ b/docs/man/freeswitch.1.ronn @@ -0,0 +1,155 @@ +freeswitch(1) -- scalable multi-protocol softswitch +=================================================== + +## SYNOPSIS + +`freeswitch` [] + +## DESCRIPTION + +`freeswitch` is a high-performance softswitch that supports many kinds +of telephony applications. It's commonly used as a PBX with SIP +endpoints. + +`freeswitch` expects a set of configuration files to exist in +/etc/freeswitch. Example configurations can be found in +/usr/share/freeswitch/conf. + +`freeswitch` is a modular system and modules can be loaded at runtime. + +`freeswitch` is started in the foreground by default but can also be +started as a daemon. + +## OPTIONS + + * `-h`: + Show inline help. + + * `-version`: + Print the version and exit. + + * `-nf`: + Stay in the foreground (default unless `-nc` is specified). + + * `-reincarnate`: + Restart the switch in the event of an uncontrolled exit. + + * `-reincarnate-reexec`: + Like `-reincarnate` but cause the switch binary to be run again + with execv. + + * `-u` : + Run setuid after starting the switch. + + * `-g` : + Run setgid after starting the switch. + + * `-core`: + Cause the switch to dump a core when crashing; you'll need to + ensure your system ulimits allow this, and if you've set `-u` or + `-g` you may also need to run: + + sysctl -w fs.suid_dumpable=1 + + * `-rp`: + Enable realtime priority. + + * `-lp`: + Enable low priority. + + * `-np`: + Enable normal priority. + + * `-vg`: + Run under Valgrind. + + * `-nosql`: + Disable the use of SQL for internal switch operations. + + * `-heavy-timer`: + Use a more expensive system timer that may be more accurate, but + note this may also impose heavier loads on your system. + + * `-nonat`: + When the switch starts, it runs checks to determine if it is + behind NAT; this flag disables these checks. + + * `-nonatmap`: + Disable automatic NAT port mapping. + + * `-nocal`: + When the switch starts, it calibrates itself to deviations in the + system clock; this flag disables this calibration. + + * `-nort`: + Disable use of clock_realtime. + + * `-stop`: + Stop the switch if running in the background. + + * `-nc`: + Disable the interactive console and cause the switch to go into + the background unless `-nf` is also specified. + + * `-ncwait`: + Like `-nc` but cause the parent process to wait until the switch + is started before exiting. + + * `-c`: + Enable the interactive console and stay in the foreground (this is + the default). + + * `-base` : + Set the prefix directory. + + * `-cfgname` : + Set the pathname to the main configuration file. + + * `-conf` : + Set the directory for configuration files. + + * `-log` : + Set the directory for log files. + + * `-run` : + Set the directory for temporary runtime files. + + * `-db` : + Set the directory for internal database files. + + * `-mod` : + Set the directory for runtime modules. + + * `-htdocs` : + Set the directory for htdocs. + + * `-scripts` : + Set the directory for call control scripts. + + * `-temp` : + Set the directory for temporary files. + + * `-grammar` : + Set the directory for grammar files. + + * `-recordings` : + Set the directory for call recordings. + + * `-storage` : + Set the directory for voicemail storage. + + * `-sounds` : + Set the directory for sound files. + +## AUTHORS + +FreeSWITCH was originally developed by `Anthony Minessale II +` with continued development by Anthony and a +team of active contributors. + +This man page and the packaging for Debian was written by `Travis +Cross `. + +## SEE ALSO + +sysctl(8), ulimit(1posix)