<div>Hi Inaki,</div>
<div> </div>
<div>Thanks for the help. I think I should be closed to getting the final resolution. </div>
<div> </div>
<div>In my onreply_route, I have:</div>
<div> </div>
<div>onreply_route[1] { <br>fix_nated_contact(); <br>exit; </div>
<div><br>}</div>
<div> </div>
<div>But that alone does not work. Is ther anything else that I should add to thie onrply_route?</div>
<div> </div>
<div>JB</div>
<div> </div>
<div> <br><br></div>
<div class="gmail_quote">On Thu, Nov 27, 2008 at 10:07 PM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">El Jueves, 27 de Noviembre de 2008, Juan Backson escribió:<br></div>
<div class="Ih2E3d">> Hi Inaki,<br>><br>> Thank you for your kindness in helping me out.<br>> I think your diagnosis of the problem is exactly what I am facing right<br>> now.<br>> I tried to solve it by putting in :<br>
><br>> if (nat_uac_test("19")) {<br>> xlog("nat client detected\n");<br>> if (method=="REGISTER") {<br>> fix_nated_register();<br>> } else {<br>
> fix_nated_contact();<br>> };<br>> setflag(5);<br>> };<br>><br>> if(!is_method("REGISTER")){<br>> if(nat_uac_test("19")){<br>
> xlog("record route with nat = yes\n");<br>> record_route(";nat=yes");<br>> } else {<br>> xlog("normal record route\n");<br>> record_route();<br>
> };<br>> };<br>><br>><br>> But it is still not working.<br><br></div>In the above code there is no "onreply_route" in which you should<br>run "fix_nated_contact()" in 18X and 200 responses to an INVITE.<br>
<div class="Ih2E3d"><br><br>> My opensips and B2BUA are within on NAT and<br>> my xlite is within another NAT, is this going to work?<br><br></div>Sure.<br><font color="#888888"><br><br>--<br></font>
<div>
<div></div>
<div class="Wj3C7c">Iñaki Baz Castillo<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>