2009/3/3 Geir O. Jensen geir.o.jensen@uninett.no:
As far as I can see, OpenSER get's the ACK from the phone, fails to follow the contact field and tries to send the ACK to itself.
U 2009/03/03 11:03:58.968311 192.168.10.10:5060 -> 192.168.10.1:5060 ACK sip:192.168.20.1 SIP/2.0
U 2009/03/03 11:03:58.972547 192.168.10.1:5060 -> 192.168.10.1:5060 ACK sip:domain.net SIP/2.0
This is an ACK for a INVITE 200, so it's a new transaction (a in-dialog request) rather than part of the INVITE transaction (as an ACK for a [3456]XX response would be).
The RURI is modified by Kamailio, this means that your script is doing it. What do you do with your in-dialog requests? what do you do with ACK (INVITE-200)? Are you using "$ru=" or "sethostport"/"writehostport" for them?