[Users] Nat Help
Daniel-Constantin Mierla
daniel at voice-system.ro
Tue Sep 27 21:34:40 CEST 2005
Hello,
try figuring out when the source network is the same with destination
network, and in such situation do not use mediaproxy.
This may be done using pseudo-variables and avpops module. Take a look
at pseudo-variables: $si, $dd and $rd
(http://www.openser.org/docs/pseudo-variables.html), and avpops
functions: avp_printf(), avp_write(), avp_subst() and avp_check()
(http://www.voice-system.ro/docs/avpops/) -- combining these you should
be able to make it work.
Cheers,
Daniel
On 09/27/05 22:07, Fernando Rodriguez wrote:
> 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 o 192.168.1.x
>
>
>
> And not to use mediaproxy when calling within the same lan.
>
>
>
> Thanks for your help
>
>
>
>
>
> Fernando Rodriguez V.
>
> frod at aitelecom.net <mailto:frod at aitelecom.net>
>
> AITelecom S.A. de C.V.
>
> http://www.aitelecom.net
>
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list