Hello,
after troubleshooting ACK routing loops i came up with a thread: http://www.openser.org/pipermail/users/2009-March/004123.html
In short, loops formed when i entered IP address to 'domain' table of a host which was remote. Call flow:
UAC INVITE -> Kamailio (with remote domain entered) -> UAS (host whose IP matches that remote domain)
It looks like after loose_route() check ACK to 200 OK gets routed to local host. Besides this issue, IP address of remote host in 'domain' table did no harm at all.
Question is, is that normal ACK routing behaviour or loose_route() should still check if given IP in request is really bound to local interface? Domain module documentation states that "A “local” domain is one that the proxy is responsible for", but id does not tell you that you cannot set remote IP address as a local domain.
Please advice.
Best regards,
Antanas Masevicius