xx@xx:/usr/local/freeswitch/bin# ./freeswitch -help
用法:freeswitch[选项]
这些是你可以传递给freeswitch的可选参数:
-nf --没有分叉
-reincarnate --在不受控制的出口上重新启动开关
-reincarnate-reexec --在重新启动时运行execv(对升级有帮助)
-u [user] --指定要切换的用户
-g [group] --指定要切换到的组
-core --核心转储
-help --这个消息
-version --打印版本并退出
-rp --开启高(实时)优先级设置
-lp --开启低优先级设置
-np --启用正常优先级设置
-vg --valgrind下运行
-nosql --禁用内部SQL计分板
-heavy-timer --重型计时器,可能更精确,但有成本
-nonat --关闭NAT自动检测功能
-nonatmap --关闭NAT端口自动映射功能
-nocal --禁用时钟校准
-nort --禁用时钟clock_realtime
-stop --停止freeswitch
-nc --不输出到控制台和后台
-ncwait --不要输出到控制台和后台,而是等到系统准备好后再退出(暗示-nc)
-c --输出到控制台并停留在前台
控制文件位置的选项:
-base [basedir] --交替前缀目录
-cfgname [filename] --FreeSWITCH主配置文件的备用文件名
-conf [confdir] --FreeSWITCH配置文件的备用目录
-log [logdir] --日志文件的备用目录
-run [rundir] --运行时文件的备用目录
-db [dbdir] --内部数据库的备用目录
-mod [moddir] --模块的备用目录
-htdocs [htdocsdir] --htdocs的备用目录
-scripts [scriptsdir] --脚本的备用目录
-temp [directory] --临时文件的备用目录
-grammar [directory] --语法文件的备用目录
-certs [directory] --证书的备用目录
-recordings [directory] --录音的备用目录
-storage [directory] --语音邮件存储的备用目录
-cache [directory] --缓存文件的备用目录
-sounds [directory] --声音文件的备用目录