Hello everyone!
I've been struggling with a kamailio scenario with the rtpengine_delete. My
scenario is the following:
I've setup a Kamailio multihomed, since some of my vendors has provided us a
direct link using a different local subnet in eth2 and I have my public IP in
eth1. The kamailio i've been working on is using app_lua module.
SIP A <---------> 200.XXX.XXX.14 (eth1) [Kamailio 5.6] (eth2) 10.203.5.8
<------> Vendor 10.203.5.20
100.XXX.XXX.22
Basically, I receive a call from public IP eth1 and according to the logic
from the vendor I forward statefully the call to 10.203.5.20 in second branch.
I've been reading a lot of issues and documentation such as:[#840 rptengine],
[#875 rtpengine] and [#2222 kamailio], but I don't really get working the
rtpengine_delete() correctly, since I go to netstat -plan|grep rtpengine and I
see some sessions still that are not freed.
My second case is the following when I receive a 503 from another GW:
SIP A <---------> 200.XXX.XXX.14 (eth1) [Kamailio 5.6] (eth1)
200.XXX.XXX.14 <-----------> Vendor GW 233.XXX.XXX.19
100.XXX.XXX.22
In that case I still see the rtpengine ports, mostly with my public IP
200.XXX.XXX.14 but some of them with the LAN 10.203.5.8 IP.
Also, something curious I see on my 2nd use case is the following:
https://pastebin.com/raw/B4vCgExX
So, it would be great if someone can point me to the right direction, how and
when I should use rtpengine_delete in order to finish the rtpengine sessions
correctly and the ports can be freed up.
Any help will be great!
[840]
https://github.com/sipwise/rtpengine/issues/840
[875]
https://github.com/sipwise/rtpengine/issues/875
[2222]
https://github.com/kamailio/kamailio/issues/2222
--
Regards,
Jose Figueroa