On 05 Mar 2014, at 18:30, Marc Soda <ms...@coredial.com> wrote: > 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. > > Is there a special method to rewrite the Contact header to be Kamailio's IP? Check record_route() in the default configuration script. You need to add a route set by using record_route() in the initial transaction.
Cheers, /O > > Where is a good place in the config to do this? (my config is loosely based > on this: > http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb) > > Thanks! > Marc > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users