<div>Hi Bogdan,</div> <div>the solution you gave was to detect if caller and callee are behind <STRONG>same NAT</STRONG>, I just wanted to detect if caller and calee are behind "NAT". Can you help me in defining condition for this.<BR><BR><B><I>Bogdan-Andrei Iancu <bogdan@voice-system.ro></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>this is a topic largely discussed in the past - a google on the archive <BR>will give you a lot of info.<BR>shortly, you have to you avp_check() to compare the src_ip of the INVITE <BR>with the destination of it (dst_uri). See the avpops and the pseudo <BR>variables docs.<BR><BR>regards,<BR>bogdan<BR><BR>Jayesh Nambiar wrote:<BR><BR>> Hi all,<BR>> I am trying to implement the following scenario:<BR>> Whenever a NATed client calls to user at public IP or whenever a user <BR>> at public IP calls a NATed client, I dont want to use mediaproxy. the
<BR>> fix_nated_sdp function does the job.<BR>> But when both the caller and callee are behind nat, only then <BR>> mediaproxy should be used. Can someone please help me in defining a <BR>> condition which will return true if both the caller and callee are nated.<BR>> I tried a lot, but my conditions allow calls from NATed client to <BR>> public IP clients to use mediaproxy which I dont want.<BR>> <BR>> Please help me in this regard, as I want to minimise the use of <BR>> mediaproxy as much as possible.<BR>> <BR>> Thanks in advance,<BR>> jayesh<BR>><BR>> ------------------------------------------------------------------------<BR>> Jiyo cricket on Yahoo! India cricket <BR>> <HTTP: cricket in.sports.yahoo.com *http: mailcricket in mail us.rd.yahoo.com /><BR>> Yahoo! Messenger Mobile <BR>> <HTTP: *http: in mail us.rd.yahoo.com messenger new in.mobile.yahoo.com mailmobilemessenger /><BR>> Stay in touch with your buddies all the
time.<BR>><BR>>------------------------------------------------------------------------<BR>><BR>>_______________________________________________<BR>>Users mailing list<BR>>Users@openser.org<BR>>http://openser.org/cgi-bin/mailman/listinfo/users<BR>> <BR>><BR><BR></BLOCKQUOTE><BR><p>
        
        
                <hr size=1>
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.