# BigBlueButton v2.6 on Docker（v2.4からのアップデート、IPv6対応）

**URL:** https://forum.ficusonline.com/t/topic/483
**Category:** Server
**Created:** [2023 年 4 月 28 日午前 2:29 UTC](https://forum.ficusonline.com/t/topic/483 "2023-04-28T02:29:31Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2023 年 5 月 6 日午前 3:29 UTC](https://forum.ficusonline.com/t/topic/483/4 "2023-05-06T03:29:02Z")

</div>

## FreeSwitchステータス確認

FreeSwitchのコマンドラインツール **`fs_cli`** を利用してFreeSwitchの設定事項などを確認。以下freeswitchのコンソールで各イベントも表示されます。

```auto
$ docker exec -ti bbb-freeswitch bash
# /opt/freeswitch/bin/fs_cli -H 10.7.7.1 -P 8021 -p "FSESL_PASSWORD in .env file"
freeswitch >

```

イベントソケットの設定ファイル  
`mod/freeswitch/conf/autoload_configs/event_socket.conf.xml`  
によって、アクセスできるデフォルトのIPアドレスとポートなどを指定できます。

```auto
<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="nat-map" value="false"/>
    <param name="listen-ip" value="$${local_ip_v4}"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="$${esl_password}"/>
    <param name="apply-inbound-acl" value="loopback.custom"/>
    <!--<param name="stop-on-bind-error" value="true"/>-->
  </settings>
</configuration>

```

また `mod/freeswitch/conf/autoload_configs/acl.conf.xml` によりアクセス可能なIPを細かく指定できます。

> **[mod\_event\_socket | FreeSWITCH Documentation](https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_event_socket_1048924/)**
>
> \---

* * *

**`mod/freeswitch/conf/sip_profiles`** で設定した外部からのアクセス設定の確認

外部IPv4のステータス確認

```auto
freeswitch > sofia status profile external
=================================================================================================
Name external
Domain Name N/A
Auto-NAT false
DBName sqlite://memory://file:external?mode=memory&cache=shared
Pres Hosts       	
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP xx.xx.xx.xx
Ext-RTP-IP xx.xx.xx.xx
SIP-IP 10.7.7.1
Ext-SIP-IP xx.xx.xx.xx
URL sip:mod_sofia@xx.xx.xx.xx:5060
BIND-URL sip:mod_sofia@xx.xx.xx.xx:5060;maddr=10.7.7.1;transport=udp,tcp
WS-BIND-URL sip:mod_sofia@0.0.0.0:5066;transport=ws
WSS-BIND-URL sips:mod_sofia@10.7.7.1:7443;transport=wss
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN OPUS,speex@16000h@20i,speex@8000h@20i,G722,PCMU,PCMA
CODECS OUT OPUS,speex@16000h@20i,G722,PCMU,PCMA
TEL-EVENT 101
DTMF-MODE info
CNG 13
SESSION-TO 0
MAX-DIALOG 0
MAX-RECV-RPS 1000
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 0

```

外部IPv6のステータス確認

```auto
freeswitch > sofia status profile external-ipv6

```

内部のステータス確認は、上記の **`externalをinternal`** に置換えて下さい。

**`sofia`** コマンドについては以下も参照のこと（xmlファイル変更後の再読込）。

> [@FreeSWITCH:コマンドラインツールfs\_cliと各種設定のポイント](https://forum.ficusonline.com/t/topic/410/3):
>
> fs\_cli による設定ファイルのリロードコマンド # fs\_cli -H xx.xx.xx.xx -P 8021 -p password freeswitch\> reloadxml Reload Command List Item Reload Command Notes Item Reload Command Notes XML Dialplan reloadxml R…

* * *

ログをファイル保存するモジュール`mod_logfile`は以下の`autoload_configs/modules.conf.xml`で読み込む設定になっていないため追加します。

> [@FreeSWITCH:コマンドラインツールfs\_cliと各種設定のポイント](https://forum.ficusonline.com/t/topic/410/4):
>
> モジュールによるコマンド一覧 fs\_cliによるコンソールで実行 [Command Line Interface (fs\_cli)](https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Client-and-Developer-Interfaces/1048948)ロードモジュール設定ファイル 以下のファイルで読み込むモジュールを指定 freeswitch/conf/autoload\_configs/modules.conf.xml \<configuration name="modules.conf" descript…

> **[mod\_logfile | FreeSWITCH Documentation](https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_logfile_1048990/)**
>
> About

```auto
<configuration name="modules.conf" description="Modules">
  <modules>
    <!-- Loggers (I'd load these first) -->
    <load module="mod_console"/>
    
    <!-- save Log -->
    <load module="mod_logfile"/>

    <!-- Event Handlers -->
    <load module="mod_event_socket"/>

    <!-- Endpoints -->
    <load module="mod_sofia"/>

    <!-- Applications -->
    <load module="mod_commands"/>
    <load module="mod_conference"/>
    <load module="mod_dptools"/>

    <!-- Dialplan Interfaces -->
    <load module="mod_dialplan_xml"/>

    <!-- Codec Interfaces -->
    <load module="mod_spandsp"/>
    <load module="mod_opus"/>
    <load module="mod_opusfile"/>

    <!-- File Format Interfaces -->
    <load module="mod_sndfile"/>
    <load module="mod_native_file"/>

  </modules>
</configuration>

```

---

_[View the full topic](https://forum.ficusonline.com/t/topic/483)._
