[OpenSER-Users] Saving public IP in CDR

Iñaki Baz Castillo ibc at in.ilimit.es
Fri Aug 10 12:42:06 CEST 2007


El Friday 10 August 2007 12:23:43 Andreas Sikkema escribió:
> > Yes, that is, I comment it to you because you said:
> >
> > "Unfortunately [...] $si contains the reported remote IP
> > address, not the
> > public IP address that the message has been received from."
> >
> > I think you are trying to get something impossible: the last
> > router IP through
> > which the packet arrieved to your OpenSer. That's not
> > possible, note that
> > layer 3 (IP) doesn't notify the intermediary IP address in
> > the received
> > message, you just can see the source and destination.
>
> No, I'm trying to get to the public IP address of a NATted
> SIP UA. This address is not found in the SIP message, but
> OpenSER knows it otherwise it couldn't reply to it ;-)

Ok, then that is $si. But I've already read that in your case it means the 
privati IP of the source. Hummm...


-- 
ilimit...


*Iñaki Baz Castillo*
ibc at in.ilimit.es

ÀREA SISTEMES
0034 937 333 375
VOLTA 1, PIS 5
08224 TERRASSA.BCN

Aquest enviament és confidencial i està destinat únicament a la persona a qui 
s'ha enviat.
Pot contenir informació privada sotmesa al secret professional, la distribució 
de la qual està prohibida per la legislació vigent.




More information about the Users mailing list