[Kamailio-Users] ACK when using NAT

Alex Balashov abalashov at evaristesys.com
Fri Mar 20 22:22:06 CET 2009


Yes.

michel freiha wrote:

> 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 
> <mailto: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 <mailto:Users at lists.kamailio.org>
>     http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>     http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775



More information about the Users mailing list