[OpenSER-Users] newbie question on NAT
Iñaki Baz Castillo
ibc at aliax.net
Sun Jun 8 23:18:20 CEST 2008
El Domingo, 8 de Junio de 2008, mark morreny escribió:
> Hi Inaki,
>
> Thank you very much for helping out. There is one thing I want to clearify
> from you.
>
> Let's say I have UA 192.168.1.100 who wants to make call with UA
> 192.168.1.101
>
> When the INVITE comes from 192.168.1.100, the $si is 192.168.1.100.
> When the ACK 200 comes from 192.168.1.101, the $si is 192.168.1.101.
>
> How cane these two be matched? I am thinking maybe I am just confused on
> an issue that I still not yet understand.
Ah, that is a different point. I tought you have an OpenSer with public IP and
clients behind different LAN's, so $si will be the public IP of each router
(and doing what I suggested you'd get direct RTP in calls inside a same LAN).
In your case I assume you have and OpenSer with public and private IP so to
match 192.168.1.100 with 192.168.1.101 you must perform a regular expresion.
It shouldn't be difficult with OpenSer "avpops" module.
--
Iñaki Baz Castillo
More information about the Users
mailing list