8: 2016-08-12 (金) 18:00:54 iseki |
9: 2016-08-12 (金) 23:28:27 iseki |
| #br | | #br |
| | | |
- | *** %%1.6.9%% [#x57bdca1] | + | *** 1.6.9 [#x57bdca1] |
| | | |
| **** modules.conf [#ued4b66b] | | **** modules.conf [#ued4b66b] |
| **** コンパイル&インストール [#vd5b9d6f] | | **** コンパイル&インストール [#vd5b9d6f] |
| # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig | | # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/lib/pkgconfig |
- | # ./configure --disable-libvpx | + | # ./configure --disable-libvpx --disable-libyuv |
- | lua の処理 | + | lua の処理 (後述参照) |
| # vi modules.conf | | # vi modules.conf |
- | # make .... エラーがでる? | + | # make |
| + | # make install |
| #br | | #br |
| | | |
| *** lua の処理 [#pd87fd78] | | *** lua の処理 [#pd87fd78] |
| | | |
- | **** liblua.a, liblua.so [#ieeb67e0] | + | **** liblua.a, %%liblua.so%% [#ieeb67e0] |
| - 別途コンパイルする | | - 別途コンパイルする |
| | | |
| # cd src/mod/languages/mod_lua/lua | | # cd src/mod/languages/mod_lua/lua |
- | # vi Makefile コンパイルオプションに -fPIC を追加.共有ライブラリも作成するように変更 | |
| # make linux | | # make linux |
- | # make liblua.so | + | # cp liblua.a /usr/local/lib |
- | # cp liblua.* /usr/local/lib | + | # chmod o+r /usr/local/lib/liblua.a |
- | # chmod o+r /usr/local/lib/liblua.* | + | |
| # cd .. | | # cd .. |
- | # ln -s lus/* . たぶんヘッダファイルのみのリンクでも大丈夫だと思う | + | # ln -s lus/*.h . |
| + | |
| + | - %%vi Makefile (これは必要ないかも)%% 必要なし |
| | | |
- | - vi Makefile | |
| CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) -fPIC | | CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) -fPIC |
| .... | | .... |
| liblua.so: $(BASE_O) | | liblua.so: $(BASE_O) |
- | $(CC) -shared $(BASE_O) -o $@ | + | $(CC) -shared -o $@ $(BASE_O) |
| | | |
| **** libg7221 [#h9ec1f53] | | **** libg7221 [#h9ec1f53] |
| #br | | #br |
| *** Config [#if8dcdec] | | *** Config [#if8dcdec] |
| + | **** conf/vars.xml [#ad7d45a1] |
| + | diff vars.xml.orig vars.xml |
| + | 258c258,259 |
| + | < <X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/> |
| + | --- |
| + | > <!--<X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/>--> |
| + | > <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/> |
| + | |
| + | **** conf/autoload_configs/xml_curl.conf.xml. [#see0c37b] |
| + | # diff xml_curl.conf.xml.orig xml_curl.conf.xml |
| + | 3c3,14 |
| + | < <binding name="example"> |
| + | --- |
| + | > <binding name="EDU_directory"> |
| + | > <param name="gateway-url" value="http://opensim.tuis.ac.jp:8004/fsapi/freeswitch-config" bindings="directory"/> |
| + | > <param name="gateway-credentials" value="freeswitch:password"/> |
| + | > <param name="disable-100-continue" value="true"/> |
| + | > </binding> |
| + | > <binding name="EDU_dialplan"> |
| + | > <param name="gateway-url" value="http://opensim.tuis.ac.jp:8004/fsapi/freeswitch-config" bindings="dialplan"/> |
| + | > <param name="gateway-credentials" value="freeswitch:password"/> |
| + | > <param name="disable-100-continue" value="true"/> |
| + | > </binding> |
| + | > |
| + | > <!--<binding name="example">--> |
| + | 47c58 |
| + | < </binding> |
| + | --- |
| + | > <!--</binding>--> |
| + | |
| + | **** conf/autoload_configs/modules.conf.xml [#ofab9f0e] |
| + | <load module="mod_xml_curl"/> |
| + | <load module="mod_siren"/> |
| + | #br |
| + | |
| + | **** conf/autoload_configs/conference.conf.xml [#bda1749b] |
| | | |
| **** RTP Port Range [#fa845852] | | **** RTP Port Range [#fa845852] |