Hello,
The errors show the lrkproxy module in kamailio could not connect with lrkproxy service in udp:192.168.51.106:22333.
Make sure they are connected to each other by the PING-PONG message command in syslog.

On Thu, Sep 16, 2021 at 12:40 PM hamed r <hamed.rasstegar@gmail.com> wrote:
Hello
I have problem with lrkproxy module.
First, I installed the packages from the link below :
And the service was properly listened to the local ip (192.168.51.106:22333).  

In the next step, the parameters were added to the kamalio.cfg file :
loadmodule "lrkproxy.so"
modparam("lrkproxy", "lrkproxy_sock", "udp:192.168.51.106:22333")

I also changed the  /etc/pylrkproxy/pylrkproxy.ini to set local ip.

But when I make a call, the ip inside the sdp not change.
And the following error is displayed in the syslog: 
Sep  4 07:18:05 debian /usr/local/sbin/kamailio[1724]: INFO: {1 2 INVITE NzA0NmU0YTYwNWNkNzAwOWJiOTUyOWQ5ODhjNjRhNzk.} lrkproxy [lrkproxy.c:1507]: lrkproxy_force(): Here is SIP_REQUEST &  METHOD_INVITE
Sep  4 07:18:05 debian /usr/local/sbin/kamailio[1724]: ERROR: {1 2 INVITE NzA0NmU0YTYwNWNkNzAwOWJiOTUyOWQ5ODhjNjRhNzk.} lrkproxy [lrkproxy.c:1084]: select_lrkp_node(): script error -no valid set selected
Sep  4 07:18:05 debian /usr/local/sbin/kamailio[1724]: ERROR: {1 2 INVITE NzA0NmU0YTYwNWNkNzAwOWJiOTUyOWQ5ODhjNjRhNzk.} lrkproxy [lrkproxy.c:1513]: lrkproxy_force(): can't ping any lrk proxy right now.
Sep  4 07:18:07 debian /usr/local/sbin/kamailio[1723]: INFO: {2 2 INVITE NzA0NmU0YTYwNWNkNzAwOWJiOTUyOWQ5ODhjNjRhNzk.} lrkproxy [lrkproxy.c:1625]: lrkproxy_force(): Here is SIP_REPLY of METHOD_INVITE
Sep  4 07:18:07 debian /usr/local/sbin/kamailio[1723]: ERROR: {2 2 INVITE NzA0NmU0YTYwNWNkNzAwOWJiOTUyOWQ5ODhjNjRhNzk.} lrkproxy [lrkproxy.c:1630]: lrkproxy_force(): No found entry in hash table
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
--Mojtaba Esfandiari.S