<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 21/01/2021 00.32, mahesh prasad
      behera wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+vhzuKeMzEmwZ1zYDcEEfWXvdLY2oPkVffOdJZzV3VU6tTVNA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Hi Team,
          <div><br>
          </div>
          <div>We are using sipwise rtpengine on platform centos 7. To
            get call related statistics from rtpengine. We tried to use
            utils "rtpengine-ng-client" and "rtpengine-ctl". But for us
            both of them are not working.</div>
          <div><br>
          </div>
          <div><b>Rtpengine process status:</b><br>
          </div>
          <div><font color="#0000ff">[root@ctl utils]# ps -ef |grep
              rtpengine<br>
              root      3924   668  0 00:11 pts/0    00:00:00 grep
              --color=auto rtpengine<br>
              root     20502 20499  0 Jan19 ?        00:10:02
              ../sbin/rtpengine -f --num-threads 4 -i pub/<a
                href="http://10.211.160.132" moz-do-not-send="true">10.211.160.132</a>
              -i priv/<a href="http://10.211.160.132"
                moz-do-not-send="true">10.211.160.132</a> -n <a
                href="http://127.0.0.1:8500" moz-do-not-send="true">127.0.0.1:8500</a>
              -c <a href="http://127.0.0.1:8500" moz-do-not-send="true">127.0.0.1:8500</a>
              -m 32001 -M 32500 -T 184 -o 90 -d 4 -s 900 -p
              /var/run/rtpengine1.pid --scheduling rr --priority 37<br>
              [root@ctl utils]#</font><br>
          </div>
          <div><font color="#0000ff"><br>
            </font></div>
          <div><b> rtpengine-ng-client:</b><font color="#0000ff"><br>
            </font></div>
          <div>When i ran rtpengine-ng-client, I was getting Bencode.pm
            missing so I have manually installed perl bencode library
            "perl-Convert-Bencode-1.03-9.el7.noarch.rpm"  <br>
          </div>
          <div>Now when i ran rtpengine-ng-client i am getting below
            error </div>
          <div>[root@ctl utils]# ./rtpengine-ng-client list<br>
            <b>Undefined subroutine &Bencode::bencode called at
              /usr/local/lib64/perl5/NGCP/Rtpengine.pm line 33. </b> <br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    That's a different Perl module (Convert::Bencode instead of
    Bencode). If there's no RPM for the Bencode module, you should be
    able to install it through CPAN.<br>
    <blockquote type="cite"
cite="mid:CA+vhzuKeMzEmwZ1zYDcEEfWXvdLY2oPkVffOdJZzV3VU6tTVNA@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div><b>rtpengine-ctl:</b>  <br>
          </div>
          <div>When i ran  ./rtpengine-ctl -ip <a
              href="http://127.0.0.1:8500" moz-do-not-send="true">127.0.0.1:8500</a>
            list , We are not getting any valid response from rtpengine.</div>
          <div>[root@ctl utils]# ./rtpengine-ctl -ip <a
              href="http://127.0.0.1:8500" moz-do-not-send="true">127.0.0.1:8500</a>
            list<br>
            <b>Inside do while after call socket->recv(response,
              1024*1024*10)</b><br>
          </div>
        </div>
      </div>
    </blockquote>
    <p>Not sure what this is about, but `list` is not a complete CLI
      command. Try `list sessions all`. You can also talk to the CLI
      port with something like netcat, e.g. `echo list sessions all | nc
      localhost 8500`</p>
    <p>Cheers<br>
    </p>
  </body>
</html>