[Kamailio-Users] ACK when using NAT

michel freiha michofr at gmail.com
Fri Mar 20 22:22:02 CET 2009


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 at 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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090320/46be519c/attachment.htm>


More information about the sr-users mailing list