<HTML><BODY>Just added some lines to route[relay].<br>Thanks to Kirill Galinurov.<br><br>Not ideal in some cases but mostly what I need.<br><br><p>route[relay] {<br> # for INVITEs enable some additional helper routes<br> if (is_method("INVITE")) {<br> t_on_branch("per_branch_ops");<br> t_on_reply("handle_nat");<br> t_on_failure("missed_call");<br> }</p><p> # fix address in Record-Route if this is a 100/200 reply to Multifon // this is only until OpenSIPS is behind NAT!<br> if($td=="multifon.ru") {<br> set_advertised_address("x.X.116.2");<br> }</p><p> if (!t_relay()) {<br> send_reply("500","Internal Error");<br> };<br> exit;<br>}</p><br><br><br>-----------------------------------------------<br><span style="font-size: 15px;" data-mce-style="font-size: 15px;">BR, Alexey</span><br style="font-size: 15px;" data-mce-style="font-size: 15px;"><span style="font-size: 15px;" data-mce-style="font-size: 15px;">http://alexeyka.zantsev.com/</span></BODY></HTML>