Chat Filtering
Note: Available since ISL Pronto module version 2.1.5.
ISL Pronto supports filtering of chat through the use of external commands. This can be configured under the 'External command for processing chat lines' option. The format is the same as used for configuring the conference proxy external authenticator. This setting is available per domain, and when configured conference proxy will invoke the command and communicate with the resulting process through standard input and output. It is advisable that the process be designed as a persistent process, so that it does not need to be invoked for every line of chat.
External Process Protocol
filter
cmd=filter&id=12345&chat=Tessting&supporter=1
- chat_filtered : specifies that the original message was filtered (either for spellchecking errors, or profanity, etc...). It will replace the original message as the new original and will make the real original unavailable for future use.
- chat_translated: specifies that the original message( or the filtered one, if chat_filtered is now the original ) has been translated. This will replace the shown message, but the original message is kept intact, and can also be seen.
result=ok&id=12345&chat_filtered=Testing&chat_translated=Testiranje
exit
Extra parameters
{{custom}} - will be replaced with the current customization used in this chat
{{chatsid}} - will be replaced with a session id for this chat
chat_id={{chatsid}};customization={{custom}};static_argument=test;