Problem:
My .jitsi-meet-cfg/jigasi/sip-communicator.properties
is getting overwritten every time I start Jigasi, but I need to set
net.java.sip.communicator.impl.protocol.sip.acc1.AUTHORIZATION_NAME=abc123abc
in order for my SIP communication to work.
Solution:
Run this script after starting the jigasi container. It will fix the overwritten config and then restart the Jigasi Java process without restarting the container
#!/bin/sh sed -i -e "s/# SIP account/net.java.sip.communicator.impl.protocol.sip.acc1.AUTHORIZATION_NAME=abc123abc/g" .jitsi-meet-cfg/jigasi/sip-communicator.properties # Reload config hack docker-compose -f docker-compose.yml -f jigasi.yml exec jigasi /bin/bash -c 'kill $(pidof java)'
Original source: This GitHub ticket which provides a similar solution for a similar problem