[OpenSIPS-Devel] Why $du is set after "lookup(location)" ?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Aug 21 13:25:15 CEST 2008
Hi Iñaki,
Actually $du is also when Path is used during registration - in such a
case, $du will point to the first hop from the Path set.
Regards,
Bogdan
Iñaki Baz Castillo wrote:
> 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.
>
>
>
>
More information about the Devel
mailing list