Flexisip 2.5 ---> 2.6, Flexisip-Conference 1.0.1 Upgrade

flexisip-conferenceを独立したパッケージとして配布

Conference server - XWiki

設定ファイルなどのディレクトリ

Configuration file /etc/opt/belledonne-communications/flexisip-conference/flexisip-conference.conf
Log file /var/opt/belledonne-communications/flexisip-conference/log/flexisip-conference.log
Persistent data directory /var/opt/belledonne-communications/flexisip-conference/lib
Server executable /opt/belledonne-communications/flexisip-conference/bin/flexisip-conference
  • state-directory(/lib/uuid)の永続化 — これによりconference server自身の+sip.instance(自己インスタンスGRUU)が再起動をまたいで維持されるようになり、REDIS上でfocus URI/factory URIのエントリが再起動のたびに増殖する問題を解消
  • REDIS上の古い孤児エントリの掃除 — 過去の再起動で作られた無効なUUIDエントリを削除

Redis登録データチェック・削除

$ docker exec -it redis redis-cli -h 127.0.0.1 -p 6379 --pass xxxxxxxxxxxxxxxxx
127.0.0.1:6379> HGETALL "fs:[email protected]"
127.0.0.1:6379> HGETALL "fs:[email protected]"

127.0.0.1:6379>  HDEL "fs:[email protected]" "\"<xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>\""
(integer) 1
127.0.0.1:6379> HDEL "fs:[email protected]" "\"<xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>\""
(integer) 1

key -> field -> value のデータ構造

Redis
│
├── Key: fs:[email protected]
│       │
│       └── Hash
│            │
│            ├── Field: "<UUID>"
│            │       └── Value: "<sip:127.0.0.1:6064;...>"
│            │
│            └── Field: "<別のUUID>"
│                    └── Value: "<別のSIP Contact>"
│
├── Key: fs:[email protected]
│       └── ...
│
└── Key: fs:[email protected]
        └── ...