Dear Sir

Please find below the loose_route method...This will be much clear:

if(loose_route()){


if (is_method("BYE")) {
                                setflag(2); # do accounting ...
                                setflag(7); # ... even if the transaction fails
xlog("BYEEEEEEEEEEEEEEEEEEEE");
t_relay();
}







#t_on_reply("7");
#unforce_rtp_proxy();
#fix_nated_sdp("1");
if (is_method("INVITE")) {

xlog("3333333333333333333333333333333333333333333339999999999999999999999999999999999");
fix_nated_contact();
t_on_failure("1");
force_rtp_proxy();
t_relay();
exit();
}





if ( is_method("ACK") ) {
                                if ( t_check_trans() ) {
xlog("AAAAKKKCCCCCCCNNNNNN");
fix_nated_contact();
                                        t_relay();
                                        exit;

}
}
}

Please help

On Fri, Mar 20, 2009 at 11:06 PM, michel freiha <michofr@gmail.com> wrote:
Dear All,
Hi all,

i'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's wrong?Please find below my ACK method that i define in loose route methode

f ( is_method("ACK") ) {
                                if ( t_check_trans() ) {
xlog("AAAAKKKCCCCCCCNNNNNN");
                                        force_rport();
                                        t_relay();
                                        exit;

}

Regards