Rafael,

 

Lets say we have 3 clients 2 on the same lan and another on diferent lan

 

Client 1 192.168.3.5

Client 2 192.168.3.6

Client 3 192.168.4.5

 

The line :
 
avp_printf("i:450", "$dd");

  if ( avp_check("i:450", "eq/$src_ip/g") )

 

I mostly understand this.

 

But I really don’t get the idea on how does the src_ip from client 1 and the src_ip on client 3 will be different they have different networks but what will happened if I use the mask 255.255.0.0 when both clients are on the same network.

 

So my question is:  after I record $dd and check to $src_ip what is the “g” for maybe that’s the part I don’t fully understand ??

 


De: Rafael Risco GV [mailto:rafael.risco@gmail.com]
Enviado el: Miércoles, 28 de Diciembre de 2005 11:22 a.m.
Para: Fernando Rodriguez
CC: users@openser.org
Asunto: Re: [Users] Src&Dest ip avpops

 

try this:

http://openser.org/dokuwiki/doku.php?id=how_to_set_up_nathelper_rtpproxy_when_both_sip_ua_s_are_behind_same_nat

On 12/28/05, Fernando Rodriguez <frod@aitelecom.net> wrote:

 

Hello,

 

Is there a place were i can read about avpops module regarding src and dst ip this is for using mediaproxy when the users are in diferent interfaces of the equipment or diferent networks so i can only mediaproxy the ones that need this functionalyty and the ones on the same network connect direct from one to the other.

 

 

Thanks a lot

 

 

Fernando Rodriguez V.

 

 

 


_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users