You can check if the src_ip and the r-uri's ip address are the same. Just
make sure this is done after lookup() and before being forwarded. This
method has lots of limitations. Check the archive for more discussions. But
most of time it is sufficient.
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Allan
Sent: Friday, October 29, 2004 2:08 PM
To: Andris Parra L.; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Multiple UA behind NAT and SIP Proxy Outside LAN
I am also looking for a way to determine if two UAs
are behind the same NAT. I have found that if I do
not force rtp_proxy between two UAs known to be behind
the same NAT, the call is setup and torn down through
SER and RTP is sent directly between the two UAs.
This is how I want to call to operate. I just can't
see a way via SER's scripting language to make a
decision based on the src_ip of the initial request
and a portion of the URI domain, which in my case is
the IP address of the NAT.
Regards,
Allan
--- "Andris Parra L." <apl_1980b(a)yahoo.com> wrote:
I4m wondering if there is a way to comunicate UA
agents betwen them that are behind the same nat,
they are working perfectly with the outside world
(I4m not having problems with Nat traversal), but
they try to send the RTP and RTCP data to the
aparent public IP that they are registered in the
Sip Proxy, and of course, the multimedia data isn4t
processed by the router because the destination IP
is the one asigned to the WAN interface of it and it
sees it in the LAN interface.
I4m thinking that maybe the Sip Proxy (ser 0.14)
isn4t the problem, maybe the infraestructure is not
enough, so, is there anything that you could answer
me tha guide me in this scenario?
I4ll be grateful for any information you could give
me.
Andris Parra L.
apl_1980b(a)yahoo.com
Ipsofactum LTDA.
www.ipsofactum.com
---------------------------------
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download
now.>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
______________________________________________________________________
Post your free ad now!
http://personals.yahoo.ca
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers