<div dir="ltr">Dear Sir <br><br>Please find below the loose_route method...This will be much clear:<br><br>if(loose_route()){<br><br><br>if (is_method(&quot;BYE&quot;)) {<br>                                setflag(2); # do accounting ...<br>
                                setflag(7); # ... even if the transaction fails<br>xlog(&quot;BYEEEEEEEEEEEEEEEEEEEE&quot;);<br>t_relay();<br>}<br><br><br><br><br><br><br><br>#t_on_reply(&quot;7&quot;);<br>#unforce_rtp_proxy();<br>
#fix_nated_sdp(&quot;1&quot;);<br>if (is_method(&quot;INVITE&quot;)) {<br><br>xlog(&quot;3333333333333333333333333333333333333333333339999999999999999999999999999999999&quot;);<br>fix_nated_contact();<br>t_on_failure(&quot;1&quot;);<br>
force_rtp_proxy();<br>t_relay();<br>exit();<br>}<br><br><br><br><br><br>if ( is_method(&quot;ACK&quot;) ) {<br>                                if ( t_check_trans() ) {<br>xlog(&quot;AAAAKKKCCCCCCCNNNNNN&quot;);<br>fix_nated_contact();<br>
                                        t_relay();<br>                                        exit;<br><br>}<br>}<br>}<br><br>Please help<br><br><div class="gmail_quote">On Fri, Mar 20, 2009 at 11:06 PM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com">michofr@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Dear All,<br>Hi all,<br><br>i&#39;m trying to send FAX to an endpoint behind a NAT...The FAX is failing because the ACK message is sent to Private endpoint IP instead of PUBLIC IP....Can you please let me know what&#39;s wrong?Please find below my ACK method that i define in loose route methode<br>

<br>f ( is_method(&quot;ACK&quot;) ) {<br>                                if ( t_check_trans() ) {<br>xlog(&quot;AAAAKKKCCCCCCCNNNNNN&quot;);<br>                                        force_rport();<br>                                        t_relay();<br>

                                        exit;<br><br>}<br><br>Regards<br></div>
</blockquote></div><br></div>