You just can do
remove_hf("Contact");
insert_hf("Contact: sip:$tU@OutboundProxyIP");
in this case.-- Nick 2013/1/31 Nick Altmann <[email protected]> > You just can do > remove_hf("Contact"); > insert_hf("sip:$tU@OutboundProxyIP"); > in this case. > > -- > Nick > > > 2013/1/31 microx <[email protected]> > >> Hi all, >> >> My scenario is caller->outbound proxy->proxy server->outbound >> proxy->callee. >> >> The outbound proxy will run topology_hiding/match_dialog() after receiving >> the requests >> returned from the proxy server. >> >> When I use some kind of Polycom video phone, PRACK requests triggered. >> Because >> 1) PRACK requests are sent ahead of 200 OK of callee and >> 2) match_dialog() works only after the outbound proxy processes the 200 >> OK, >> PRACK requests will be looped many times between the outbound proxy and >> the >> proxy server >> until the outbound proxy receives the 200 OK. >> >> A solution to this issue is having a flexible fix_nated_contact() to allow >> me to do something >> like ``fix_nated_contact("sip:$tU@OutboundProxyIP")''. I am wondering >> that >> it is possible for >> OpenSIPS to meet this requirement. Thanks. >> >> Best wishes, >> Chen-Che >> >> >> >> -- >> View this message in context: >> http://opensips-open-sip-server.1449251.n2.nabble.com/It-is-possible-to-have-a-more-flexible-fix-nated-contact-tp7584303.html >> Sent from the OpenSIPS - Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
