<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 05 Mar 2014, at 18:30, Marc Soda <<a href="mailto:msoda@coredial.com">msoda@coredial.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I have Kamailio setup as a proxy in front of a backend server (Asterisk).  When I make a call through the proxy, the Contact header in the 200 OK that is returned to the client has the IP of the backend server in it.  Thus, the client is sending it's ACK directly to the backend server.<div>
<br></div><div>Is there a special method to rewrite the Contact header to be Kamailio's IP?</div></div></blockquote>Check record_route() in the default configuration script. You need to add a route set by using record_route() in the initial transaction.</div><div><br></div><div>Cheers,</div><div>/O<br><blockquote type="cite"><div dir="ltr"><div><br></div><div>Where is a good place in the config to do this?  (my config is loosely based on this:  <a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a>)</div>
<div><br></div><div>Thanks!</div><div>Marc</div><div><div><br></div>
</div></div>
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br></body></html>