[OpenSIPS-Devel] Why $du is set after "lookup(location)" ?

Iñaki Baz Castillo ibc at in.ilimit.es
Thu Aug 21 13:11:55 CEST 2008


El Thursday 21 August 2008 12:33:07 Iñaki Baz Castillo escribió:
> Hi, I've realized that $du (the real destination address) is set after
> doing a lookup("location"). I wonder why, shouldn't be $du computed after
> the script?
>
> I've a related problem since I do a "lookup(location)" and later I modify
> $ru to deliver the request to other place, but since $du is set the request
> is sent there.

Since I'm doing parallel forking to kamailio and opensips I've replied 
that 'lookup' just set $du in case the user is behind NAT, that makes sense.



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



More information about the Devel mailing list