7: 2016-08-12 (Fri) 00:18:56 iseki |
8: 2016-08-12 (Fri) 18:00:54 iseki |
- | ** FreeSwitch [#efa9566e] | + | ** FreeSwitch [#w37f7f89] |
- | *** 起動,停止 [#be089799] | + | *** 起動,停止 [#yabbfca1] |
| - /usr/local/freeswitch/bin/freeswitch -nc | | - /usr/local/freeswitch/bin/freeswitch -nc |
| - /usr/local/freeswitch/bin/freeswitch -stop | | - /usr/local/freeswitch/bin/freeswitch -stop |
| *** Download [#ca52e7e7] | | *** Download [#ca52e7e7] |
| - http://files.freeswitch.org/releases/freeswitch/ | | - http://files.freeswitch.org/releases/freeswitch/ |
| + | #br |
| + | |
| + | *** %%1.6.9%% [#x57bdca1] |
| + | |
| + | **** modules.conf [#ued4b66b] |
| + | #applications/mod_fsv |
| + | #codecs/mod_opus |
| + | #formats/mod_sndfile |
| + | codecs/mod_siren |
| + | xml_int/mod_xml_curl |
| + | |
| + | #br |
| + | **** コンパイル&インストール [#vd5b9d6f] |
| + | # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig |
| + | # ./configure --disable-libvpx |
| + | lua の処理 |
| + | # vi modules.conf |
| + | # make .... エラーがでる? |
| #br | | #br |
| | | |
| #br | | #br |
| | | |
- | **** module.conf [#ued4b66b] | + | **** modules.conf [#ued4b66b] |
| #applications/mod_fsv | | #applications/mod_fsv |
| #codecs/mod_opus | | #codecs/mod_opus |
| xml_int/mod_xml_curl | | xml_int/mod_xml_curl |
| | | |
- | **** lua [#b43c9fb9] | + | **** コンパイル&インストール [#t0a3d41f] |
| + | # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig |
| + | # ./configure |
| + | lua の処理 |
| + | # vi modules.conf |
| + | # make |
| + | # make install |
| + | #br |
| + | |
| + | *** lua の処理 [#pd87fd78] |
| + | |
| + | **** liblua.a, liblua.so [#ieeb67e0] |
| - 別途コンパイルする | | - 別途コンパイルする |
| | | |
| # vi Makefile コンパイルオプションに -fPIC を追加.共有ライブラリも作成するように変更 | | # vi Makefile コンパイルオプションに -fPIC を追加.共有ライブラリも作成するように変更 |
| # make linux | | # make linux |
| + | # make liblua.so |
| # cp liblua.* /usr/local/lib | | # cp liblua.* /usr/local/lib |
| # chmod o+r /usr/local/lib/liblua.* | | # chmod o+r /usr/local/lib/liblua.* |
| # cd .. | | # cd .. |
| # ln -s lus/* . たぶんヘッダファイルのみのリンクでも大丈夫だと思う | | # ln -s lus/* . たぶんヘッダファイルのみのリンクでも大丈夫だと思う |
| + | |
| + | - vi Makefile |
| + | CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) -fPIC |
| + | .... |
| + | liblua.so: $(BASE_O) |
| + | $(CC) -shared $(BASE_O) -o $@ |
| | | |
| **** libg7221 [#h9ec1f53] | | **** libg7221 [#h9ec1f53] |
| # ./autogen.sh | | # ./autogen.sh |
| # ./configure | | # ./configure |
- | # make | |
- | # make install | |
- | | |
- | #br | |
- | **** コンパイル&インストール [#t0a3d41f] | |
- | # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig | |
- | # ./configure | |
- | lua の処理 | |
- | # vi module.conf | |
| # make | | # make |
| # make install | | # make install |
| #br | | #br |
| *** Config [#if8dcdec] | | *** Config [#if8dcdec] |
| + | |
| **** RTP Port Range [#fa845852] | | **** RTP Port Range [#fa845852] |
| - autoload_configs/switch.conf.xml | | - autoload_configs/switch.conf.xml |