Hi,

this is a topic largely discussed in the past - a google on the archive will give you a lot of info. shortly, you have to you avp_check() to compare the src_ip of the INVITE with the destination of it (dst_uri). See the avpops and the pseudo variables docs.

regards,
bogdan

Jayesh Nambiar wrote:

Hi all,
I am trying to implement the following scenario:
Whenever a NATed client calls to user at public IP or whenever a user at public IP calls a NATed client, I dont want to use mediaproxy. the fix_nated_sdp function does the job. But when both the caller and callee are behind nat, only then mediaproxy should be used. Can someone please help me in defining a condition which will return true if both the caller and callee are nated. I tried a lot, but my conditions allow calls from NATed client to public IP clients to use mediaproxy which I dont want. Please help me in this regard, as I want to minimise the use of mediaproxy as much as possible. Thanks in advance,
jayesh

------------------------------------------------------------------------
Jiyo cricket on Yahoo! India cricket <http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/> Yahoo! Messenger Mobile <http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/> Stay in touch with your buddies all the time.

------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to