Hello
I have problem with lrkproxy module.
First, I installed the packages from the link below :
https://github.com/mojtabaesfandiari/pylrkproxy
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