[Devel] LCR and avps

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 12 11:32:10 CET 2006


Juha Heinanen wrote:
> Klaus Darilion writes:
> 
>  > looks like the online docs are not up2date:
>  > http://openser.cvs.sourceforge.net/openser/sip-server/modules/mediaproxy/README?r1=1.8&r2=1.9
> 
> and how would that apply to lcr module?  i don't remember that lcr
> module would be using source address of request for anything.

I think the suggested scenario is:


GW --- proxy A ---- proxy B

Proxy B uses LCR module's from_gw() to find out if the request is from 
an authorized GW. But, as there is proxy A inbetween from_gw wont work. 
Thus, proxy A will add a certain header with the source IP. proxy B copy 
this header into an AVP and from_gw will check against the gateway table 
using this AVP instead the src IP from the request.

regards
klaus


-- 
Klaus Darilion
nic.at




More information about the Devel mailing list