2
0

freeswitch.1.ronn 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. freeswitch(1) -- scalable multi-protocol softswitch
  2. ===================================================
  3. ## SYNOPSIS
  4. `freeswitch` [<options>]
  5. ## DESCRIPTION
  6. `freeswitch` is a high-performance softswitch that supports many kinds
  7. of telephony applications. It's commonly used as a PBX with SIP
  8. endpoints.
  9. `freeswitch` expects a set of configuration files to exist in
  10. /etc/freeswitch. Example configurations can be found in
  11. /usr/share/freeswitch/conf.
  12. `freeswitch` is a modular system and modules can be loaded at runtime.
  13. `freeswitch` is started in the foreground by default but can also be
  14. started as a daemon.
  15. ## OPTIONS
  16. * `-h`:
  17. Show inline help.
  18. * `-version`:
  19. Print the version and exit.
  20. * `-nf`:
  21. Stay in the foreground (default unless `-nc` is specified).
  22. * `-reincarnate`:
  23. Restart the switch in the event of an uncontrolled exit.
  24. * `-reincarnate-reexec`:
  25. Like `-reincarnate` but cause the switch binary to be run again
  26. with execv.
  27. * `-u` <user>:
  28. Run setuid after starting the switch.
  29. * `-g` <group>:
  30. Run setgid after starting the switch.
  31. * `-core`:
  32. Cause the switch to dump a core when crashing; you'll need to
  33. ensure your system ulimits allow this, and if you've set `-u` or
  34. `-g` you may also need to run:
  35. sysctl -w fs.suid_dumpable=1
  36. * `-rp`:
  37. Enable realtime priority.
  38. * `-lp`:
  39. Enable low priority.
  40. * `-np`:
  41. Enable normal priority.
  42. * `-vg`:
  43. Run under Valgrind.
  44. * `-nosql`:
  45. Disable the use of SQL for internal switch operations.
  46. * `-heavy-timer`:
  47. Use a more expensive system timer that may be more accurate, but
  48. note this may also impose heavier loads on your system.
  49. * `-nonat`:
  50. When the switch starts, it runs checks to determine if it is
  51. behind NAT; this flag disables these checks.
  52. * `-nonatmap`:
  53. Disable automatic NAT port mapping.
  54. * `-nocal`:
  55. When the switch starts, it calibrates itself to deviations in the
  56. system clock; this flag disables this calibration.
  57. * `-nort`:
  58. Disable use of clock_realtime.
  59. * `-stop`:
  60. Stop the switch if running in the background.
  61. * `-nc`:
  62. Disable the interactive console and cause the switch to go into
  63. the background unless `-nf` is also specified.
  64. * `-ncwait`:
  65. Like `-nc` but cause the parent process to wait until the switch
  66. is started before exiting.
  67. * `-c`:
  68. Enable the interactive console and stay in the foreground (this is
  69. the default).
  70. * `-base` <basedir>:
  71. Set the prefix directory.
  72. * `-cfgname` <filename>:
  73. Set the pathname to the main configuration file.
  74. * `-conf` <directory>:
  75. Set the directory for configuration files.
  76. * `-log` <directory>:
  77. Set the directory for log files.
  78. * `-run` <directory>:
  79. Set the directory for temporary runtime files.
  80. * `-db` <directory>:
  81. Set the directory for internal database files.
  82. * `-mod` <directory>:
  83. Set the directory for runtime modules.
  84. * `-htdocs` <directory>:
  85. Set the directory for htdocs.
  86. * `-scripts` <directory>:
  87. Set the directory for call control scripts.
  88. * `-temp` <directory>:
  89. Set the directory for temporary files.
  90. * `-grammar` <directory>:
  91. Set the directory for grammar files.
  92. * `-recordings` <directory>:
  93. Set the directory for call recordings.
  94. * `-storage` <directory>:
  95. Set the directory for voicemail storage.
  96. * `-sounds` <directory>:
  97. Set the directory for sound files.
  98. ## AUTHORS
  99. FreeSWITCH was originally developed by `Anthony Minessale II
  100. <anthm@freeswitch.org>` with continued development by Anthony and a
  101. team of active contributors.
  102. This man page and the packaging for Debian was written by `Travis
  103. Cross <tc@traviscross.com>`.
  104. ## SEE ALSO
  105. sysctl(8), ulimit(1posix)