florian-h05 / webrtc-sip-gw

A WebRTC-SIP gateway for AVM Fritz!Box based on Kamailio and rtpengine.
MIT License
18 stars 7 forks source link

Improve container health check #7

Closed florian-h05 closed 11 months ago

florian-h05 commented 1 year ago

The current health check is "pinging" Kamilio which leads to confusing log messages. This should be improved.

An option would be to use kamctl monitor or other kamctl commands. Those however require the mi_fifo module:

loadmodule "mi_fifo.so"

and also see https://kamailio.org/docs/modules/4.4.x/modules/mi_fifo.html.

florian-h05 commented 11 months ago

The health check was improved to check the rtpengine and Kamilio service status from supervisorctl.