<div dir="ltr">Hi all,<br><br>I have the current configuration located on google clod servers:<br>[Alice a.a.a.a]--->(GCN NAT x.x.x.x)--->(Instance with Kam 10.0.0.1)--->(next proxy 10.0.0.2)<br><br>Currently I have configured a fake alias with IP x.x.x.x in Debain and set listeners this way:<br>listen=udp:<a href="http://10.0.0.1:5060">10.0.0.1:5060</a> advertise x.x.x.x:5060<br>listen=udp:x.x.x.x:5060<br><br>200OK from Kam to Alice:<br>Via: a.a.a.a<br>Record-Route: <<a href="mailto:sip%3Aalias1@10.0.0.2">sip:alias1@10.0.0.2</a>;lr> (used for further internal routing)<br>Record-Route: <<a href="mailto:sip%3Aalias2@10.0.0.2">sip:alias2@10.0.0.2</a>;lr><br>Record-Route: <sip:x.x.x.x;lr><br>Contact: <sip:dnis@x.x.x.x><br><br>ACK recived from Alice with reversed RR:<br>ACK sip:dnis@x.x.x.x<br>Via: a.a.a.a<br>Route: <sip:x.x.x.x;lr>, <<a href="mailto:sip%3Aalias2@10.0.0.2">sip:alias2@10.0.0.2</a>;lr>,<<a href="mailto:sip%3Aalias1@10.0.0.2">sip:alias1@10.0.0.2</a>;lr><br><br>So what Kam does - it goes through loose_route() and dispatches two ACKs to x.x.x.x (from which I'd like to get rid of) and 10.0.0.2<br>First one is:<br>ACK <a href="mailto:sip%3Aalias1@10.240.0.67">sip:alias1@10.240.0.67</a><br>Via: x.x.x.x<br>Via: a.a.a.a<br>Route: <sip:x.x.x.x;lr>, <<a href="mailto:sip%3Aalias2@10.0.0.1">sip:alias2@10.0.0.1</a>;lr><br><br>And the next one:<br>ACK <a href="mailto:sip%3Aalias1@10.240.0.67">sip:alias1@10.240.0.67</a><br>Via: x.x.x.x<br>Via: x.x.x.x (Doubles Via)<br>Via: a.a.a.a<br>Route: <<a href="mailto:sip%3Aalias2@10.0.0.1">sip:alias2@10.0.0.1</a>;lr><br><br>So my question is - how to make Kam think that x.x.x.x it's own address and stop dispatching in-dialog messages to itself? Currently I'm thinking about chooping off one Route/Record-Route in route[WITHINDLG] tight before loose_route(). But maybe there's a better way to solve my problem?<br></div>