[SR-Users] Help required in sipwise rtpengine-ng-client and rtpengine-ctl

mahesh prasad behera mpb.mahesh at gmail.com
Thu Jan 21 06:32:41 CET 2021


Hi Team,

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.

*Rtpengine process status:*
[root at ctl utils]# ps -ef |grep rtpengine
root      3924   668  0 00:11 pts/0    00:00:00 grep --color=auto rtpengine
root     20502 20499  0 Jan19 ?        00:10:02 ../sbin/rtpengine -f
--num-threads 4 -i pub/10.211.160.132 -i priv/10.211.160.132 -n
127.0.0.1:8500 -c 127.0.0.1:8500 -m 32001 -M 32500 -T 184 -o 90 -d 4 -s 900
-p /var/run/rtpengine1.pid --scheduling rr --priority 37
[root at ctl utils]#

* rtpengine-ng-client:*
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"
Now when i ran rtpengine-ng-client i am getting below error
[root at ctl utils]# ./rtpengine-ng-client list
*Undefined subroutine &Bencode::bencode called at
/usr/local/lib64/perl5/NGCP/Rtpengine.pm line 33. *

*rtpengine-ctl:*
When i ran  ./rtpengine-ctl -ip 127.0.0.1:8500 list , We are not getting
any valid response from rtpengine.
[root at ctl utils]# ./rtpengine-ctl -ip 127.0.0.1:8500 list
*Inside do while after call socket->recv(response, 1024*1024*10)*

Please find the below attached source code for  rtpengine-ng-client and
rtpengine-ctl.
Any help and suggestion will be highly appreciated.

Thanks,
Mahesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210121/57f404ab/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpengine-ctl
Type: application/octet-stream
Size: 6680 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210121/57f404ab/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpengine-ng-client
Type: application/octet-stream
Size: 6580 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210121/57f404ab/attachment-0001.obj>


More information about the sr-users mailing list