Dear Inaki,

Do you mean I should add t_on_reply("1"); and define the on_reply_route as follow:


onreply_route[1] {
#  if (t_check_status("2[0-9][0-9]") )
 if((t_check_status("200|183|180") && search("Content_Type: application/sdp")) || search("Content-Type: application/sdp"))


{
fix_contact()
        force_rtp_proxy();
  }

Regards

On Fri, Mar 20, 2009 at 11:17 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote:
El Viernes, 20 de Marzo de 2009, michel freiha escribió:
> 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

Are you running "fix_contact()" in reply_route for 200 OK ?



--
Iñaki Baz Castillo

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users