官术网_书友最值得收藏!

Starting FreeSWITCH

Once you have compiled and installed FreeSWITCH, it is time to launch the application:

  • Linux/Unix/OS X: run /usr/local/freeswitch/bin/freeswitch
  • Windows: run freeswitchconsole.exe from the Release directory

The system will start loading, and numerous messages will display on the screen. Console messages are color-coded for readability. Do not worry about all of the messages right now, just make sure that your system starts up and you get to the FreeSWITCH console, which we call the command-line interface (CLI). The CLI prompt looks like the following:

freeswitch@localhost>

Let's issue a few commands to verify that the system is operational. First, issue the version command to verify the version of FreeSWITCH that we have installed. You'll see something similar to this:

FreeSWITCH Version 1.2.1

Next, issue the status command, which displays a few statistics about your system. You'll see output similar to this:

freeswitch@localhost> status
UP 0 years, 0 days, 0 hours, 0 minutes, 16 seconds, 808 milliseconds, 260 microseconds
FreeSWITCH is ready
0 session(s) since startup
0 session(s) 0/30
1000 session(s) max
min idle cpu 0.00/100.00
Current Stack Size/Max 240K/8192K

These are just a few of the many commands you will learn about in FreeSWITCH. For a complete list of commands, simply type help and press Enter. Lastly, shut down FreeSWITCH with this command: fsctl shutdown. The system will display numerous messages as it shuts down, and will return you to the system command prompt. (If you launched freeswitchconsole.exe from the Windows Explorer then the FreeSWITCH window will simply close.)

主站蜘蛛池模板: 枞阳县| 利辛县| 昌都县| 兴海县| 墨玉县| 昭通市| 会昌县| 依安县| 潼南县| 白山市| 和政县| 岳池县| 灵山县| 吴川市| 吕梁市| 阜新| 鹿邑县| 沁源县| 大英县| 新河县| 郁南县| 那坡县| 图片| 闵行区| 沾益县| 于都县| 白水县| 庆安县| 海阳市| 罗定市| 元谋县| 忻州市| 集贤县| 木兰县| 屏南县| 塔河县| 孝昌县| 慈利县| 区。| 文水县| 丁青县|