Introduction.
主要なカスタマイズは functional restriction で実施しますが、一般的ではないカスタマイズは boot.ini でも対応しています。boot.ini Here's how to edit it:
- CAMServer stop
- CAMServer/boot.ini (ファイル作成 or 編集)
- CAMServer startup
The contents of boot.ini are also copied to the cam.ini file, which CAMServer uses to store dynamic configuration values.
Basic settings
Setting the URL domain to access the server
Set the domain of the URL to access the server. Domain Name Settings This setting can also be configured in the GUI. This setting is used in the following places:
- Web conference URL
- Host name when accessing the STUN server for web conferencing
- Link sharing in messages
- Redirect URL in SSO
- Click URL for Web/Push notifications
# サーバへアクセスする URLドメインの設定
cam.serverURLDomain=camserver.xyzSpecify the length of the login password
# ログインパスワードの長さを指定 ※ 6以上に設定する必要があります
cam.userPasswordMinLength=8データ削除
Number of days to delete messages
Messages will be deleted to prevent degradation of normal loading speeds during long-term operation.
# 365日経過したメッセージを自動で削除
cam.deleteMessageDays=365Move message to archive table
Messages are moved to the archive table to prevent a slowdown in normal loading speed during long-term operation. Archived messages can only be viewed by administrators on the message management screen by default. To allow general users to view them in log searches, you need to add a separate cam.restrictArchivedMessageAdminOnly=false I will also add a note.
# 365日経過したメッセージをアーカイブテーブルに移動
cam.archiveMessageDays=365Delete messages from the archive table
# 1000日経過したメッセージをアーカイブテーブルから削除
cam.deleteArchivedMessageDays=1000Number of days to remove files attached to messages
# 365日経過したメッセージの添付ファイルを自動で削除
cam.deleteMessageAttachmentDays=365メッセージ送信
Maximum number of characters in a message
You can specify the maximum number of characters in a message to be sent. If omitted, the default value is 4,000 characters, and each character is counted as one character regardless of case or symbol.
# 送信メッセージの最大文字数
cam.sendMessageLengthLimit=4000Displays the remaining number of characters in the input area compared to the maximum number of characters for the message to be sent
# 送信メッセージの最大文字数に対し残り文字数を表示
cam.showRemainChar=trueMaximum size of files that can be uploaded
# アップロードファイルのサイズ上限を500MBにする
cam.uploadSizeLimitMB=500メッセージ送信後に webhook を実行
webhook を利用する事で、メッセージ送信後に、外部システムと連携可能です。以下設定例は、チャットルームtest1または、test2に添付ファイル付きメッセージが送信された場合、 https://example.com/webhook に所定のJSONで通知を送信します。
# メッセージ送信後に webhook を実行
cam.webhookMessageURL=https://example.com/webhook
# メッセージが任意のチャットルームの場合だけ(ここでは、test1,test2 のみ) webhook を実行
cam.webhookMessageInRooms=test1,test2
# メッセージに添付ファイルがある場合だけ webhook を実行
cam.webhookMessageHasAttachmentsOnly=true
# webhook を実行する際に指定されたヘッダを HTTP リクエストに付与。次のように列挙「key: value,key: value」
cam.webhookMessageHTTPHeaders=Authorization: Bearer ***,X-Company-ID: ABC123
{
"message": {
"id": "1757482720232951888",
"userId": "id1",
"userName": "id1",
"isOpened": true,
"panelName": "テスト",
"message": "よろしくお願いいたします。",
"inlineContent": null,
"parentID": null,
"talkId": "JoFqJCYhccn5Rxszw1IIqA",
"createdAt": 1757482720232,
"updatedAt": 1757482720232,
"attachments": [
{
"id": 152536,
"name": "test.png",
"md5Hash": "9922d0f96e693f50e1110c8e1d01c7e9",
"size": 24531,
"lastModified": 1757482708795,
"isFileView": true,
"comment": "",
"url": "https://pc/CAMServer/download?type=message&id=1757482939818688333&attachedId=452179&hash=9922d0f96e693f50e1110c8e1d01c7e9&name=test.png"
}
]
}
}
id・・・メッセージID
userId・・・Chat&Messenger のユーザID
userName・・・Chat&Messenger のユーザ名
isOpened・・・通常 true 、開封確認メッセージの場合は false
panelName・・・DMの場合は「メッセンジャー」、チャットの場合はルーム名
message・・・メッセージ本文
inlineContent・・・メッセージ本文内のインラインコンテンツ
parentID・・・スレッド内での投稿の場合は、親メッセージID
talkId・・・トークのID。※DM、チャット単位で一意なIDが生成される
createdAt・・・メッセージ作成日時
updatedAt・・・メッセージ更新日時
attachments・・・添付ファイル
id・・・添付ファイルID
name・・・添付ファイル名
md5Hash・・・添付ファイルのMD5
size・・・添付ファイルサイズ
lastModified・・・添付ファイル更新日時
isFileView・・・メッセージ内でインラインで表示する画像の場合true
comment・・・添付ファイルのコメント ※本案件では利用しない
url・・・添付ファイルのダウンロードURL
Link a file path in Microsoft Edge and open it in Windows Explorer
This setting allows you to link a UNC format file or folder path in a message and open the folder in Windows Explorer.
- Only paths listed in intranetFileLinkReplacements are linked.
- The replacement string can be determined by a regular expression. If the replacement string is the same as the replacement string, the replacement string is determined by a regular expression and the matched string is used as is.
- The following
\\host\, ,N:\, ,\\share1 to 9\Here is an example of making a path that starts with a link.
# Microsoft Edge でファイルパスをリンク化し、Windowsエクスプローラーで開く。「置換前|置換後」 を ; で区切り列挙する(最後の ; は必要)。
cam.intranetFileLinkReplacements=\\host\|\\host\;N:\|\\host\;\\share[1-9]\|\\share[1-9]\;
To open Windows Explorer from the Microsoft Edge browser, you also need to set the following:
Add IntranetFileLinksEnabled to the registry (Details)
Create a value under the Edge path in regedit.exe
・Registry path
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
·value
Name: IntranetFileLinksEnabled
Type: REG_DWORD
Data: 0x00000001 (1)
The following settings need to be added to the local intranet zone in Internet Options:
- https://{Domain name accessed by CAMServer}
- file://{hostname of shared folder}


UI・UXカスタマイズ
Do not display user ID or email
Please enable this setting if you do not want to display your user ID or email address on the screen.
# ユーザIDやEmailを表示しない
cam.showUserIdentity=falsePCの画面がロックされた場合、自動で不在に
# 画面ロックで不在、アンロックで不在解除を自動化
cam.autoAbsenceScreenLocked=truePCの操作が無い場合、自動で不在に
# PCの操作が無い場合、自動で不在にする時間(分)
cam.autoAbsenceNoOperationMinute=30Do not display absence settings
Enable this setting if you do not want the absence settings to be displayed on the screen.
# 不在設定を表示しない
cam.showAbsence=falseDo not display the text in the push notification popup
Enable this setting if you do not want to display the text in the push notification popup.
# Push通知のポップアップに本文を表示しない
cam.showNotificationBody=falseHide chat room notifications setting
Enable this setting if you do not want to display the notification settings in the chat room settings.
# チャットルームの通知設定を表示しない
cam.hideChatRoomNotificationSetting=trueenvironment setting
Change the log file output destination
CAMServer logs are set to CAMServer/sys/logs However, if you want to change the output destination, you can do so by writing the following in the boot.ini file.
*Please make sure the destination folder exists and you have write permissions before making the change.
# ログ出力先の変更
cam.logDir=E:\CAMServer\logsDisk Capacity Monitoring
By default, the administrator will be notified when the disk capacity exceeds 90%. Notifications are sent when the server starts and at 11:00 PM every day. If you want to change this to 80%, you can do so as follows:
# ディスク容量チェックを80%に変更
cam.checkExceedingDiskCapacity=80Changing the Temp File Area
CAMServer may output temporary files to the TEMP file area of the OS. If you need to change the output destination for some reason, you can change it by writing the following in the boot.ini file.
*Please make sure the destination folder exists and you have write permissions before making the change.
# TEMPファイル領域を変更
java.io.tmpdir=E:\CAMServer\tempDisable external HTTP access
CAMServer accesses external sites via HTTP in the following process, but you can disable it in the settings. If you do not disable it on CAMServers that cannot connect to the Internet, connection errors will be recorded in the log, so please set it to avoid this.
- Google server when sending push notifications
- When previewing links in chats, the URL domain server
- When an error occurs, the error report is sent to our server (unless you have disabled it using the settings described in the installation confirmation guide).
# 外部HTTPへのアクセスを無効化
cam.enableAccessExternalHttp=falseaccess log
# HTTPアクセス毎にログを記録
cam.enableServerAccessLog=true
# 任意。上記ログにログイン認証時のEmailを追加(Emailは一部マスクされ記録されます)
cam.enableServerAccessLogEmail=true
# 365日経過したアクセスログを自動で削除(指定が無い場合400日)
cam.deleteAccessLogDays=365Limit the number of participants who can join the same web conference
To limit the number of participants who can join the same web conference room, set the following:
# 同じWeb会議の会議室に参加できる参加者数を制限
cam.maxConferenceUsers=50Redundancy and load balancing
Redundancy and load balancing settings see
Disable HTTP port
If you want to disable the HTTP port, enable this setting.
# HTTPポートを無効化
cam.enableHttpPort=falseDisable HTTPS port
If you want to disable the HTTPS port, enable this setting.
# HTTPSポートを無効化
cam.enableHttpsPort=false