Niklas,
Thank you for responding. I have one more question.
Which Kamailio modules are to be loaded as a requirement? I ask as it seems that the  mi_fifo.so  module has been depreciated for Kamailio v5.x  but Observium applications page still shows below modules as requirements.

   mi_fifo.so    and    kex.so 


        
     Thanks again


Kevin Riahi





From: "Observium" <observium@observium.org>
To: "Observium" <observium@observium.org>
Cc: "Niklas Larsson" <niklas@tese.se>
Sent: Saturday, August 1, 2020 5:05:21 AM
Subject: Re: [Observium] Kamailio Application module

Hi,

change the agent script to this:


#!/bin/bash

kamcmd=`which kamcmd 2>/dev/null`

if [[ -x "$kamcmd" ]]
then
    echo '<<<app-kamailio>>>'
    $kamcmd -s unix:/tmp/kamailio_ctl stats.get_statistics all

    exit
fi

kamctl=`which kamctl`

if [[ ! -x "$kamctl" ]]
then
    kamctl=/usr/sbin/kamcmd
fi

if [[ -x "$kamctl" ]]
then
    echo '<<<app-kamailio>>>'
    $kamctl fifo get_statistics all
fi


Should work with kamailio 4 and 5

/niklas

On 2020-08-01 09:36, Kevin Riahi via observium wrote:

 Is the instruction set for installing and configuring Kamailio application module up to date for Kamailio v5.x   at this URL   https://docs.observium.org/apps/  ?
A recent upgrade from Kamailio 4 to 5 had broken what used to work for us on Kamailio v4.

        
  TIA


Kevin Riahi



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium