Does
any one has any idea or can point me to a place to read about this ..
Thanks
..
De:
users-bounces@openser.org [mailto:users-bounces@openser.org] En nombre de Fernando Rodriguez
Enviado el: Miércoles, 28
de Septiembre de 2005 11:18 a.m.
Para: users@openser.org
Asunto: [Users] RV: Nat Help
Hello y have 3 interfaces on
my box
1 Lan to Internet
2 Lan to 192.168.1.x
3 Lan to 192.168.108.x
I only have one domain in my
openser
I want to know a method to
use the mediaproxy only when sending packet tru interfaces for example
When making a call from lan
108 to internet or
192.168.1.x
Im
putting this kind of rules
I
set different number for number for each lan 1 for eth0 2 for eth1 3 for eth2
so each client has different number regarding the interface he sees ..
Is
this valid ??
if
(from_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]" &&
to_uri=~"sip:|1[2]|2[0-9]|3[0-9]|4[0-9][:@]") {
log("de
use_media_proxy();
};
if
(from_uri=~"sip:|1[2]|2[0-9]|3[0-9]|[0-9][:@]" &&
to_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]") {
log("de
use_media_proxy();
};
And not to use mediaproxy
when calling within the same lan.
Thanks for your help
Fernando Rodriguez V.
AITelecom S.A. de C.V.